diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/helper/titlebarupdate.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx index e9badc68f59f..07fdbaa73397 100644 --- a/framework/source/helper/titlebarupdate.cxx +++ b/framework/source/helper/titlebarupdate.cxx @@ -152,9 +152,9 @@ void TitleBarUpdate::impl_updateApplicationID(const css::uno::Reference< css::fr css::uno::Reference< css::frame::XModuleManager2 > xModuleManager = css::frame::ModuleManager::create( xContext ); - OUString aModuleId = xModuleManager->identify(xFrame); - OUString sDesktopName; #if !defined(MACOSX) + OUString sDesktopName; + OUString aModuleId = xModuleManager->identify(xFrame); if ( aModuleId == "com.sun.star.text.TextDocument" || aModuleId == "com.sun.star.text.GlobalDocument" || aModuleId == "com.sun.star.text.WebDocument" || |