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/source/dialog | |
parent | 4f7bb219c0a9b377c05c091575e97097e41ec41a (diff) |
callcatcher: unused code
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/versdlg.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
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[] = { |