loplugin:oncevar

Change-Id: I8481404b2763e69752bb418db85530473ccd6b61
This commit is contained in:
Stephan Bergmann
2017-08-07 08:08:22 +02:00
parent 854add5efd
commit 7400dac23a

View File

@@ -124,9 +124,8 @@ void TitleBarUpdate::impl_updateApplicationID(const css::uno::Reference< css::fr
if ( ! xWindow.is() )
return;
OUString sApplicationID;
#if !defined(MACOSX)
OUString sApplicationID;
try
{
css::uno::Reference< css::frame::XModuleManager2 > xModuleManager =
@@ -158,6 +157,8 @@ void TitleBarUpdate::impl_updateApplicationID(const css::uno::Reference< css::fr
catch(const css::uno::Exception&)
{
}
#else
OUString const sApplicationID;
#endif
// VCL SYNCHRONIZED ->