diff options
Diffstat (limited to 'sc/source/filter/oox/biffhelper.cxx')
-rw-r--r-- | sc/source/filter/oox/biffhelper.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sc/source/filter/oox/biffhelper.cxx b/sc/source/filter/oox/biffhelper.cxx index d71249d76629..9ec1a9864a57 100644 --- a/sc/source/filter/oox/biffhelper.cxx +++ b/sc/source/filter/oox/biffhelper.cxx @@ -212,20 +212,6 @@ void lclImportImgDataDib( StreamDataSequence& orDataSeq, BiffInputStream& rStrm, return aDecDbl.mfValue; } -/*static*/ bool BiffHelper::calcRkFromDouble( sal_Int32& ornRkValue, double fValue ) -{ - if( lclCalcRkFromDouble( ornRkValue, fValue ) ) - return true; - - if( lclCalcRkFromDouble( ornRkValue, fValue * 100 ) ) - { - ornRkValue |= BIFF_RK_100FLAG; - return true; - } - - return false; -} - /*static*/ double BiffHelper::calcDoubleFromError( sal_uInt8 nErrorCode ) { sal_uInt16 nApiError = 0x7FFF; @@ -261,13 +247,6 @@ void lclImportImgDataDib( StreamDataSequence& orDataSeq, BiffInputStream& rStrm, return eTextEnc; } -/*static*/ sal_uInt16 BiffHelper::calcCodePageFromTextEncoding( rtl_TextEncoding eTextEnc ) -{ - sal_uInt32 nCodePage = rtl_getWindowsCodePageFromTextEncoding( eTextEnc ); - OSL_ENSURE( (0 < nCodePage) && (nCodePage <= SAL_MAX_UINT16), "BiffHelper::calcCodePageFromTextEncoding - unknown text encoding" ); - return static_cast< sal_uInt16 >( (nCodePage == 0) ? 1252 : nCodePage ); -} - // BIFF12 import -------------------------------------------------------------- /*static*/ OUString BiffHelper::readString( SequenceInputStream& rStrm, bool b32BitLen, bool bAllowNulChars ) |