summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-12-26 18:19:45 +0200
committerTor Lillqvist <tml@collabora.com>2013-12-26 18:19:45 +0200
commit4274e6a9af56e64b1f98e59a96623fabe8d80b94 (patch)
tree0f4751b352f3252c52a6c81a90114a4bd26104f9 /framework
parenta3b9461ad3edb3f7460ade96538f44061e117303 (diff)
WaE: unused variables
Change-Id: I42549eaa7048a6bcb248d3bd1bb28ca2c7c38763
Diffstat (limited to 'framework')
-rw-r--r--framework/source/helper/titlebarupdate.cxx4
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" ||