Kaydet (Commit) 586895f8 authored tarafından Caolán McNamara's avatar Caolán McNamara

loplugin: more unused OUString and misleading indentation

Change-Id: Ic21ca9e14520f4f16c2d665a07a79ee1a46ab91d
üst e58a179e
......@@ -171,7 +171,6 @@ SpecialType translateUnoTypeToDescriptor(
}
if (sort == codemaker::UnoType::SORT_COMPLEX) {
//TODO: check that nucleus is a valid (Java-modified UTF-8) identifier
rtl::OString superClass;
if (typeClass == RT_TYPE_INTERFACE
&& (nucleus
== rtl::OString(
......
......@@ -1141,8 +1141,7 @@ sal_Bool LoadEnv::impl_loadContent()
return sal_True;
}
else
if (xSyncLoader.is())
else if (xSyncLoader.is())
{
sal_Bool bResult = xSyncLoader->load(lDescriptor, xTargetFrame);
// react for the result here, so the outside waiting
......
......@@ -153,11 +153,9 @@ css::uno::Sequence< rtl::OUString > ModuleManager::getSupportedServiceNames()
::rtl::OUString sModule;
if (xModel.is())
sModule = implts_identify(xModel);
else
if (xController.is())
else if (xController.is())
sModule = implts_identify(xController);
else
if (xWindow.is())
else if (xWindow.is())
sModule = implts_identify(xWindow);
if (sModule.isEmpty())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment