summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/biffhelper.cxx
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2012-03-20 13:33:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-20 13:48:12 +0000
commitda8034199e840092cd80d498b3cdb9d8a4c350f0 (patch)
treee096e11845b054b6c64c0b8ec38cda3fbbf300e7 /sc/source/filter/oox/biffhelper.cxx
parent04919d8f9c1c3372acecbb3716d6f557316eb3e5 (diff)
remove unused code (oox, sc)
Diffstat (limited to 'sc/source/filter/oox/biffhelper.cxx')
-rw-r--r--sc/source/filter/oox/biffhelper.cxx21
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 )