diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-07 00:04:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-07 08:54:40 +0100 |
commit | 9233083e090dc8adfa36fa56552bcd3bb5a6bb2a (patch) | |
tree | 8d45692804d48be7a5fb5e6885e513095548b07b /sfx2 | |
parent | 4f7bb219c0a9b377c05c091575e97097e41ec41a (diff) |
callcatcher: unused code
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/viewsh.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/versdlg.cxx | 17 | ||||
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 7 |
3 files changed, 0 insertions, 25 deletions
diff --git a/sfx2/inc/sfx2/viewsh.hxx b/sfx2/inc/sfx2/viewsh.hxx index 0a1ffdbc5482..8fccd8c2fe2c 100644 --- a/sfx2/inc/sfx2/viewsh.hxx +++ b/sfx2/inc/sfx2/viewsh.hxx @@ -302,7 +302,6 @@ public: SAL_DLLPRIVATE SfxInPlaceClientList* GetIPClientList_Impl( sal_Bool bCreate = sal_True ) const; SAL_DLLPRIVATE void ResetAllClients_Impl( SfxInPlaceClient *pIP ); SAL_DLLPRIVATE void DiscardClients_Impl(); - SAL_DLLPRIVATE sal_Bool PlugInsActive() const; SAL_DLLPRIVATE SfxPrinter* SetPrinter_Impl( SfxPrinter *pNewPrinter ); SAL_DLLPRIVATE sal_Bool IsShowView_Impl() const; diff --git a/sfx2/source/dialog/versdlg.cxx b/sfx2/source/dialog/versdlg.cxx index 78b0c24fb6f5..b98ff53ab77e 100644 --- a/sfx2/source/dialog/versdlg.cxx +++ b/sfx2/source/dialog/versdlg.cxx @@ -99,7 +99,6 @@ public: void DelDtor(); SvStream& Read( SvStream & ); SvStream& Write( SvStream & ) const; - SvStringsDtor* GetVersions() const; size_t size() const { return aTableList.size(); } @@ -157,22 +156,6 @@ static String ConvertDateTime_Impl(const DateTime& rTime, const LocaleDataWrappe return aStr; } -SvStringsDtor* SfxVersionTableDtor::GetVersions() const -{ - SvStringsDtor *pList = new SvStringsDtor; - LocaleDataWrapper aLocaleWrapper( ::comphelper::getProcessServiceFactory(), Application::GetSettings().GetLocale() ); - - for ( size_t i = 0, n = aTableList.size(); i < n; ++i ) - { - SfxVersionInfo* pInfo = aTableList[ i ]; - String *pString = new String( pInfo->aComment ); - (*pString) += DEFINE_CONST_UNICODE( "; " ); - (*pString) += ConvertDateTime_Impl( pInfo->aCreationDate, aLocaleWrapper ); - pList->Insert( pString, pList->Count() ); - } - return pList; -} - // Caution in the code this array si indexed directly (0, 1, ...) static long nTabs_Impl[] = { diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index eb56125b1f89..ff96e69ae6a6 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -1860,13 +1860,6 @@ void SfxViewShell::CheckIPClient_Impl( SfxInPlaceClient *pIPClient, const Rectan } //-------------------------------------------------------------------- - -sal_Bool SfxViewShell::PlugInsActive() const -{ - return pImp->m_bPlugInsActive; -} - -//-------------------------------------------------------------------- void SfxViewShell::DiscardClients_Impl() /* [Description] |