From b3962c92bfb8d14d908bfeb9142548e9686ee105 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 25 Jun 2013 08:52:28 +0300 Subject: WaE: unused variable 'aText' [loplugin] Change-Id: I846030c5c7ad4e30e5286d1ee30130a397ad4daa --- sfx2/source/menu/mnuitem.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx index 6530c88bebbf..f27a38813e8c 100644 --- a/sfx2/source/menu/mnuitem.cxx +++ b/sfx2/source/menu/mnuitem.cxx @@ -301,8 +301,6 @@ SfxAppMenuControl_Impl::SfxAppMenuControl_Impl( sal_uInt16 nPos, Menu& rMenu, SfxBindings& rBindings ) : SfxMenuControl( nPos, rBindings ), pMenu(0) { - String aText = rMenu.GetItemText( nPos ); - // Determine the current background color setting for menus const StyleSettings& rSettings = Application::GetSettings().GetStyleSettings(); m_nSymbolsStyle = rSettings.GetSymbolsStyle(); -- cgit v1.2.3