diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-10 00:24:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 09:04:33 +0100 |
commit | d3b0920ed2f0d4e5a219a34a96391100cfab4976 (patch) | |
tree | 75b1a5e89c686b7253842820db8f21d91f0c5447 | |
parent | 5154768e8761e13f9bc3afa1713bb2fd1ab041e8 (diff) |
callcatcher: remove unused AddNumber_Impl
-rw-r--r-- | sfx2/source/bastyp/progress.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx index 0ad5de1fea52..8905cc9f5d39 100644 --- a/sfx2/source/bastyp/progress.cxx +++ b/sfx2/source/bastyp/progress.cxx @@ -59,22 +59,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::task; -void AddNumber_Impl( String& aNumber, sal_uInt32 nArg ) -{ - if ( nArg >= 10240 ) - { - aNumber += String::CreateFromInt32( (sal_uInt16)( ( nArg + 512 ) / 1024 ) ); - aNumber += ' '; - aNumber += SfxResId( STR_KB ); - } - else - { - aNumber += String::CreateFromInt32( nArg ); - aNumber += ' '; - aNumber += SfxResId( STR_BYTES ); - } -} - struct SfxProgress_Impl { Reference < XStatusIndicator > xStatusInd; |