summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-11 14:43:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 14:43:58 +0100
commit32c9a1abddf7673729bbe027bb20774d22f2c0aa (patch)
tree5a89a5a9d054427d5988940621fa904fae456c7a
parentf0259fab95db84bab9b1a7ca1b047e28ff1b3c14 (diff)
callcatcher: remove unused SfxViewFrame::CloseHiddenFrames_Impl
-rw-r--r--sfx2/inc/sfx2/viewfrm.hxx1
-rw-r--r--sfx2/source/view/viewfrm.cxx14
2 files changed, 0 insertions, 15 deletions
diff --git a/sfx2/inc/sfx2/viewfrm.hxx b/sfx2/inc/sfx2/viewfrm.hxx
index 3c3f1472be8d..f3251802342b 100644
--- a/sfx2/inc/sfx2/viewfrm.hxx
+++ b/sfx2/inc/sfx2/viewfrm.hxx
@@ -235,7 +235,6 @@ public:
SAL_DLLPRIVATE void SetActiveChildFrame_Impl( SfxViewFrame* );
SAL_DLLPRIVATE SfxViewFrame* GetActiveChildFrame_Impl() const;
SAL_DLLPRIVATE String GetActualPresentationURL_Impl() const;
- SAL_DLLPRIVATE static void CloseHiddenFrames_Impl();
SAL_DLLPRIVATE void MiscExec_Impl(SfxRequest &);
SAL_DLLPRIVATE void MiscState_Impl(SfxItemSet &);
SAL_DLLPRIVATE SfxWorkWindow* GetWorkWindow_Impl( sal_uInt16 nId );
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index f7950f650e5d..e41ae1ff48c4 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1616,20 +1616,6 @@ SfxViewFrame* SfxViewFrame::GetNext
return 0;
}
-void SfxViewFrame::CloseHiddenFrames_Impl()
-{
- SfxApplication *pSfxApp = SFX_APP();
- SfxViewFrameArr_Impl &rFrames = pSfxApp->GetViewFrames_Impl();
- for ( sal_uInt16 nPos=0; nPos<rFrames.Count(); )
- {
- SfxViewFrame *pFrame = rFrames.GetObject(nPos);
- if ( !pFrame->IsVisible() )
- pFrame->DoClose();
- else
- nPos++;
- }
-}
-
//--------------------------------------------------------------------
SfxProgress* SfxViewFrame::GetProgress() const
{