From 4274e6a9af56e64b1f98e59a96623fabe8d80b94 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 26 Dec 2013 18:19:45 +0200 Subject: [PATCH] WaE: unused variables Change-Id: I42549eaa7048a6bcb248d3bd1bb28ca2c7c38763 --- framework/source/helper/titlebarupdate.cxx | 4 ++-- 1 file 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" ||