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() ) if ( ! xWindow.is() )
return; return;
OUString sApplicationID;
#if !defined(MACOSX) #if !defined(MACOSX)
OUString sApplicationID;
try try
{ {
css::uno::Reference< css::frame::XModuleManager2 > xModuleManager = 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&) catch(const css::uno::Exception&)
{ {
} }
#else
OUString const sApplicationID;
#endif #endif
// VCL SYNCHRONIZED -> // VCL SYNCHRONIZED ->