summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-27 22:09:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-27 22:09:03 +0100
commit36a665a6754bbc4bb0a2d612a15b1b8413af3721 (patch)
tree3856ae23e54a68bf65a1ee89fe7274c14cb804a5 /sfx2
parentcaf32ed7d29d4aa7478e5fb84b4d8eb8ce9c617a (diff)
callcatcher: remove various unused methods
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/app.hxx1
-rw-r--r--sfx2/inc/sfx2/docfile.hxx1
-rw-r--r--sfx2/inc/sfx2/dockwin.hxx2
-rw-r--r--sfx2/inc/sfx2/frmdescr.hxx2
-rw-r--r--sfx2/inc/sfx2/sfxbasemodel.hxx2
-rw-r--r--sfx2/source/appl/appcfg.cxx55
-rw-r--r--sfx2/source/dialog/dockwin.cxx12
-rw-r--r--sfx2/source/doc/docfile.cxx6
-rw-r--r--sfx2/source/doc/frmdescr.cxx16
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx14
10 files changed, 0 insertions, 111 deletions
diff --git a/sfx2/inc/sfx2/app.hxx b/sfx2/inc/sfx2/app.hxx
index 875185d75d50..ea70e204df2e 100644
--- a/sfx2/inc/sfx2/app.hxx
+++ b/sfx2/inc/sfx2/app.hxx
@@ -143,7 +143,6 @@ class SFX2_DLLPUBLIC SfxApplication: public SfxShell
SfxAppData_Impl* pAppData_Impl;
DECL_DLLPRIVATE_LINK( GlobalBasicErrorHdl_Impl, StarBASIC* );
- SAL_DLLPRIVATE sal_Bool SaveAll_Impl(sal_Bool bPrompt = sal_False, sal_Bool bAutoSave = sal_False);
SAL_DLLPRIVATE short QuerySave_Impl(SfxObjectShell &, sal_Bool bAutoSave = sal_False);
static SfxApplication* Create();
diff --git a/sfx2/inc/sfx2/docfile.hxx b/sfx2/inc/sfx2/docfile.hxx
index 5435a01da858..d218c922a961 100644
--- a/sfx2/inc/sfx2/docfile.hxx
+++ b/sfx2/inc/sfx2/docfile.hxx
@@ -176,7 +176,6 @@ public:
void SetDoneLink( const Link& rLink );
Link GetDoneLink( ) const;
void SetDataAvailableLink( const Link& rLink );
- Link GetDataAvailableLink( ) const;
sal_uInt32 GetErrorCode() const;
sal_uInt32 GetError() const
diff --git a/sfx2/inc/sfx2/dockwin.hxx b/sfx2/inc/sfx2/dockwin.hxx
index 021b9fdefe44..e1436ab7f346 100644
--- a/sfx2/inc/sfx2/dockwin.hxx
+++ b/sfx2/inc/sfx2/dockwin.hxx
@@ -118,10 +118,8 @@ public:
SAL_DLLPRIVATE void Disappear_Impl();
SAL_DLLPRIVATE void Reappear_Impl();
SAL_DLLPRIVATE sal_Bool IsAutoHide_Impl() const;
- SAL_DLLPRIVATE sal_Bool IsPinned_Impl() const;
SAL_DLLPRIVATE void AutoShow_Impl( sal_Bool bShow = sal_True );
SAL_DLLPRIVATE void Pin_Impl( sal_Bool bPinned );
- SAL_DLLPRIVATE SfxSplitWindow* GetSplitWindow_Impl() const;
SAL_DLLPRIVATE void ReleaseChildWindow_Impl();
};
diff --git a/sfx2/inc/sfx2/frmdescr.hxx b/sfx2/inc/sfx2/frmdescr.hxx
index f1c62c66f129..abd12ad2a8c4 100644
--- a/sfx2/inc/sfx2/frmdescr.hxx
+++ b/sfx2/inc/sfx2/frmdescr.hxx
@@ -117,8 +117,6 @@ public:
void SetActualURL( const INetURLObject& rURL );
void SetActualURL( const String& rURL );
sal_Bool CheckContent() const;
- sal_Bool CompareOriginal( SfxFrameDescriptor& rSet ) const;
- void UnifyContent( sal_Bool );
void SetReadOnly( sal_Bool bSet ) { bReadOnly = bSet;}
sal_Bool IsReadOnly( ) const { return bReadOnly;}
void SetEditable( sal_Bool bSet );
diff --git a/sfx2/inc/sfx2/sfxbasemodel.hxx b/sfx2/inc/sfx2/sfxbasemodel.hxx
index afae566224a8..e3c773a5829c 100644
--- a/sfx2/inc/sfx2/sfxbasemodel.hxx
+++ b/sfx2/inc/sfx2/sfxbasemodel.hxx
@@ -1472,7 +1472,6 @@ public:
*/
void changing() ;
- SAL_DLLPRIVATE void impl_change() ;
/**___________________________________________________________________________________________________
@short -
@@ -1488,7 +1487,6 @@ public:
*/
SfxObjectShell* GetObjectShell() const ;
- SAL_DLLPRIVATE SfxObjectShell* impl_getObjectShell() const ;
SAL_DLLPRIVATE sal_Bool impl_isDisposed() const ;
sal_Bool IsInitialized() const;
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index 7c399b32ad2c..ec9fb2d5d054 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -900,61 +900,6 @@ void SfxApplication::SetOptions(const SfxItemSet &rSet)
}
//--------------------------------------------------------------------
-
-// Save all Documents
-
-sal_Bool SfxApplication::SaveAll_Impl(sal_Bool bPrompt, sal_Bool bAutoSave)
-{
- bAutoSave = sal_False; // functionality moved to new AutoRecovery Service!
-
- sal_Bool bFunc = sal_True;
- short nRet;
-
- for ( SfxObjectShell *pDoc = SfxObjectShell::GetFirst();
- pDoc;
- pDoc = SfxObjectShell::GetNext(*pDoc) )
- {
- if( SFX_CREATE_MODE_STANDARD == pDoc->GetCreateMode() &&
- SfxViewFrame::GetFirst(pDoc) &&
- !pDoc->IsInModalMode() &&
- !pDoc->HasModalViews() )
- {
- if ( pDoc->GetProgress() == 0 )
- {
- if ( !pDoc->IsModified() )
- continue;
-
- if ( bPrompt || (bAutoSave && !pDoc->HasName()) )
- nRet = QuerySave_Impl( *pDoc, bAutoSave );
- else
- nRet = RET_YES;
-
- if ( nRet == RET_YES )
- {
- SfxRequest aReq( SID_SAVEDOC, 0, pDoc->GetPool() );
- const SfxPoolItem *pPoolItem = pDoc->ExecuteSlot( aReq );
- if ( !pPoolItem || !pPoolItem->ISA(SfxBoolItem) ||
- !( (const SfxBoolItem*) pPoolItem )->GetValue() )
- bFunc = sal_False;
- }
- else if ( nRet == RET_CANCEL )
- {
- bFunc = sal_False;
- break;
- }
- else if ( nRet == RET_NO )
- {
- }
- }
- }
- }
-
- return bFunc;
-}
-
-//--------------------------------------------------------------------
-
-//--------------------------------------------------------------------
void SfxApplication::NotifyEvent( const SfxEventHint& rEventHint, bool bSynchron )
{
SfxObjectShell *pDoc = rEventHint.GetObjShell();
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index a787013cf04f..a79099fd260c 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -1907,13 +1907,6 @@ sal_Bool SfxDockingWindow::IsAutoHide_Impl() const
return sal_False;
}
-sal_Bool SfxDockingWindow::IsPinned_Impl() const
-{
- if ( pImp->pSplitWin )
- return pImp->pSplitWin->IsPinned();
- else
- return sal_True;
-}
void SfxDockingWindow::AutoShow( sal_Bool bShow )
{
AutoShow_Impl(bShow);
@@ -1930,11 +1923,6 @@ void SfxDockingWindow::AutoShow_Impl( sal_Bool bShow )
}
}
-SfxSplitWindow* SfxDockingWindow::GetSplitWindow_Impl() const
-{
- return pImp->pSplitWin;
-}
-
void SfxDockingWindow::FadeIn( sal_Bool /*bFadeIn*/ )
{
}
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 2de5796370e2..3fb13be672bc 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -775,12 +775,6 @@ sal_Bool SfxMedium::IsStorage()
}
//------------------------------------------------------------------
-Link SfxMedium::GetDataAvailableLink() const
-{
- return pImp->aAvailableLink.GetLink();
-}
-
-//------------------------------------------------------------------
Link SfxMedium::GetDoneLink() const
{
return pImp->aDoneLink.GetLink();
diff --git a/sfx2/source/doc/frmdescr.cxx b/sfx2/source/doc/frmdescr.cxx
index f8265e5825a3..1856a2cf9985 100644
--- a/sfx2/source/doc/frmdescr.cxx
+++ b/sfx2/source/doc/frmdescr.cxx
@@ -119,28 +119,12 @@ sal_Bool SfxFrameDescriptor::IsEditable() const
return pImp->bEditable;
}
-sal_Bool SfxFrameDescriptor::CompareOriginal( SfxFrameDescriptor& rDescr ) const
-{
- if( aURL != rDescr.aURL )
- return sal_False;
- else
- return sal_True;
-}
-
sal_Bool SfxFrameDescriptor::CheckContent() const
{
sal_Bool bRet = !( aURL == aActualURL );
return bRet;
}
-void SfxFrameDescriptor::UnifyContent( sal_Bool bTakeActual )
-{
- if ( bTakeActual )
- aURL = aActualURL;
- else
- aActualURL = aURL;
-}
-
SfxFrameDescriptor* SfxFrameDescriptor::Clone( sal_Bool bWithIds ) const
{
SfxFrameDescriptor *pFrame = new SfxFrameDescriptor;
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 67d26941abab..4006ec7a7d50 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -2643,15 +2643,6 @@ void SfxBaseModel::changing()
NotifyModifyListeners_Impl();
}
-void SfxBaseModel::impl_change()
-{
- // object already disposed?
- if ( impl_isDisposed() )
- return;
-
- NotifyModifyListeners_Impl();
-}
-
//________________________________________________________________________________________________________
// public impl.
//________________________________________________________________________________________________________
@@ -2661,11 +2652,6 @@ SfxObjectShell* SfxBaseModel::GetObjectShell() const
return m_pData ? (SfxObjectShell*) m_pData->m_pObjectShell : 0;
}
-SfxObjectShell* SfxBaseModel::impl_getObjectShell() const
-{
- return m_pData ? (SfxObjectShell*) m_pData->m_pObjectShell : 0;
-}
-
//________________________________________________________________________________________________________
// public impl.
//________________________________________________________________________________________________________