summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-18 20:49:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-18 20:49:01 +0000
commit8079924b52d505a6be195161b71c6f698898c61d (patch)
tree9de39fd22d696b6449f337e0738b58c6b912a19f /sfx2
parentc3391397341bed462a5a1c8c76772fc7ad1ff244 (diff)
unused variables
Diffstat (limited to 'sfx2')
-rwxr-xr-xsfx2/source/menu/virtmenu.cxx1
-rwxr-xr-xsfx2/source/view/viewfrm.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx
index 9ef8beb9bf87..721500abd329 100755
--- a/sfx2/source/menu/virtmenu.cxx
+++ b/sfx2/source/menu/virtmenu.cxx
@@ -324,7 +324,6 @@ void SfxVirtualMenu::CreateFromSVMenu()
// Merge Addon popup menus into the SV Menu
SfxViewFrame* pViewFrame = pBindings->GetDispatcher()->GetFrame();
- SfxSlotPool* pSlotPool = pViewFrame->GetObjectShell()->GetModule()->GetSlotPool();
Reference< com::sun::star::frame::XFrame > xFrame( pViewFrame->GetFrame().GetFrameInterface() );
if ( pSVMenu->IsMenuBar() )
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 6d5d0930370a..3f69502c9983 100755
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -2916,7 +2916,6 @@ void SfxViewFrame::AddDispatchMacroToBasic_Impl( const ::rtl::OUString& sMacro )
void SfxViewFrame::MiscExec_Impl( SfxRequest& rReq )
{
DBG_MEMTEST();
- bool bDone = false;
switch ( rReq.GetSlot() )
{
case SID_STOP_RECORDING :