summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorSantiago Martinez <smvarela@gmail.com>2012-02-27 20:32:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-02-28 14:03:07 +0000
commit37eb6211b2703c062aa391054bd2d3ed7b3a56f7 (patch)
treeea56b8beafb98aeb92e8b5898f57b04bb3b8b019 /oox/source
parentd4c467f7d37d47a798ac3880ad30ceca6e60ea8c (diff)
Remove unused code in BiffInputStream.
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/xls/biffinputstream.cxx40
1 files changed, 0 insertions, 40 deletions
diff --git a/oox/source/xls/biffinputstream.cxx b/oox/source/xls/biffinputstream.cxx
index 5634ae421898..d238bb30256c 100644
--- a/oox/source/xls/biffinputstream.cxx
+++ b/oox/source/xls/biffinputstream.cxx
@@ -291,11 +291,6 @@ sal_Int64 BiffInputStream::tellBase() const
return maRecBuffer.getBaseStream().tell();
}
-sal_Int64 BiffInputStream::sizeBase() const
-{
- return maRecBuffer.getBaseStream().size();
-}
-
// BinaryInputStream interface (stream read access) ---------------------------
sal_Int32 BiffInputStream::readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize )
@@ -368,11 +363,6 @@ OUString BiffInputStream::readByteStringUC( bool b16BitLen, rtl_TextEncoding eTe
return OStringToOUString( readByteString( b16BitLen, bAllowNulChars ), eTextEnc );
}
-void BiffInputStream::skipByteString( bool b16BitLen )
-{
- skip( b16BitLen ? readuInt16() : readuInt8() );
-}
-
// Unicode strings ------------------------------------------------------------
OUString BiffInputStream::readUniStringChars( sal_uInt16 nChars, bool b16BitChars, bool bAllowNulChars )
@@ -418,36 +408,6 @@ OUString BiffInputStream::readUniString( bool bAllowNulChars )
return readUniStringBody( readuInt16(), bAllowNulChars );
}
-void BiffInputStream::skipUniStringChars( sal_uInt16 nChars, bool b16BitChars )
-{
- sal_Int32 nCharsLeft = nChars;
- while( !mbEof && (nCharsLeft > 0) )
- {
- // skip the character array
- sal_Int32 nSkipSize = b16BitChars ? getMaxRawReadSize( 2 * nCharsLeft, 2 ) : getMaxRawReadSize( nCharsLeft, 1 );
- skip( nSkipSize );
-
- // prepare for next CONTINUE record
- nCharsLeft -= (b16BitChars ? (nSkipSize / 2) : nSkipSize);
- if( nCharsLeft > 0 )
- jumpToNextStringContinue( b16BitChars );
- }
-}
-
-void BiffInputStream::skipUniStringBody( sal_uInt16 nChars )
-{
- bool b16BitChars;
- sal_Int32 nAddSize;
- readUniStringHeader( b16BitChars, nAddSize );
- skipUniStringChars( nChars, b16BitChars );
- skip( nAddSize );
-}
-
-void BiffInputStream::skipUniString()
-{
- skipUniStringBody( readuInt16() );
-}
-
// private --------------------------------------------------------------------
void BiffInputStream::setupRecord()