diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/svdotext.hxx | 1 | ||||
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 32 | ||||
-rw-r--r-- | svx/source/inc/docrecovery.hxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 8 |
4 files changed, 0 insertions, 43 deletions
diff --git a/svx/inc/svx/svdotext.hxx b/svx/inc/svx/svdotext.hxx index 5f1eeac67bab..30a923bb566a 100644 --- a/svx/inc/svx/svdotext.hxx +++ b/svx/inc/svx/svdotext.hxx @@ -466,7 +466,6 @@ public: void NbcSetOutlinerParaObjectForText( OutlinerParaObject* pTextObject, SdrText* pText ); virtual OutlinerParaObject* GetOutlinerParaObject() const; virtual OutlinerParaObject* GetEditOutlinerParaObject() const; - virtual bool HasOutlinerParaObject() const; virtual void NbcReformatText(); virtual void ReformatText(); diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index 195033bfb488..2d8d4b46bc7e 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -153,38 +153,6 @@ TURLList* RecoveryCore::getURLListAccess() } //=============================================== -sal_Bool RecoveryCore::existsBrokenTempEntries() -{ - TURLList::const_iterator pIt; - for ( pIt = m_lURLs.begin(); - pIt != m_lURLs.end() ; - ++pIt ) - { - const TURLInfo& rInfo = *pIt; - if (RecoveryCore::isBrokenTempEntry(rInfo)) - return sal_True; - } - - return sal_False; -} - -//=============================================== -sal_Bool RecoveryCore::existsNonRecoveredEntries() -{ - TURLList::const_iterator pIt; - for ( pIt = m_lURLs.begin(); - pIt != m_lURLs.end() ; - ++pIt ) - { - const TURLInfo& rInfo = *pIt; - if (rInfo.RecoveryState == E_NOT_RECOVERED_YET) - return sal_True; - } - - return sal_False; -} - -//=============================================== sal_Bool RecoveryCore::isBrokenTempEntry(const TURLInfo& rInfo) { if (rInfo.TempURL.isEmpty()) diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index af39887cd3fa..d4ba999647e2 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -246,8 +246,6 @@ class RecoveryCore : public ::cppu::WeakImplHelper1< css::frame::XStatusListener //--------------------------------------- /** @short TODO */ - virtual sal_Bool existsBrokenTempEntries(); - virtual sal_Bool existsNonRecoveredEntries(); static sal_Bool isBrokenTempEntry(const TURLInfo& rInfo); virtual void saveBrokenTempEntries(const ::rtl::OUString& sSaveDir); virtual void saveAllTempEntries(const ::rtl::OUString& sSaveDir); diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index 646e66491919..763465aae58f 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -1343,14 +1343,6 @@ OutlinerParaObject* SdrTextObj::GetOutlinerParaObject() const return 0; } -bool SdrTextObj::HasOutlinerParaObject() const -{ - SdrText* pText = getActiveText(); - if( pText && pText->GetOutlinerParaObject() ) - return true; - return false; -} - void SdrTextObj::NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject) { NbcSetOutlinerParaObjectForText( pTextObject, getActiveText() ); |