summaryrefslogtreecommitdiff
path: root/sfx2/source/view/frame2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view/frame2.cxx')
-rw-r--r--sfx2/source/view/frame2.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sfx2/source/view/frame2.cxx b/sfx2/source/view/frame2.cxx
index f7966fcdc1f3..54bbdfbfdb6e 100644
--- a/sfx2/source/view/frame2.cxx
+++ b/sfx2/source/view/frame2.cxx
@@ -88,7 +88,6 @@ public:
virtual void Resize();
virtual void GetFocus();
void DoResize();
- DECL_LINK( CloserHdl, void* );
};
SfxFrameWindow_Impl::SfxFrameWindow_Impl( SfxFrame* pF, Window& i_rContainerWindow )
@@ -394,16 +393,6 @@ void SfxFrame::LockResize_Impl( sal_Bool bLock )
pImp->bLockResize = bLock;
}
-IMPL_LINK( SfxFrameWindow_Impl, CloserHdl, void*, EMPTYARG )
-{
- if ( pFrame && !pFrame->PrepareClose_Impl( sal_True ) )
- return 0L;
-
- if ( pFrame )
- pFrame->GetCurrentViewFrame()->GetBindings().Execute( SID_CLOSEWIN, 0, 0, SFX_CALLMODE_ASYNCHRON );
- return 0L;
-}
-
void SfxFrame::SetMenuBarOn_Impl( sal_Bool bOn )
{
pImp->bMenuBarOn = bOn;