diff options
-rw-r--r-- | sc/source/filter/excel/xistream.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sc/source/filter/excel/xistream.cxx b/sc/source/filter/excel/xistream.cxx index d31268c186e9..448f7cffd023 100644 --- a/sc/source/filter/excel/xistream.cxx +++ b/sc/source/filter/excel/xistream.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <comphelper/docpasswordhelper.hxx> #include <comphelper/sequenceashashmap.hxx> #include <osl/thread.h> @@ -27,13 +26,9 @@ #include <vector> - using namespace ::com::sun::star; - // Decryption - - XclImpDecrypter::XclImpDecrypter() : mnError( EXC_ENCR_ERROR_UNSUPP_CRYPT ), mnOldPos( STREAM_SEEK_TO_END ), @@ -106,8 +101,6 @@ sal_uInt16 XclImpDecrypter::Read( SvStream& rStrm, void* pData, sal_uInt16 nByte return nRet; } - - XclImpBiff5Decrypter::XclImpBiff5Decrypter( sal_uInt16 nKey, sal_uInt16 nHash ) : mnKey( nKey ), mnHash( nHash ) @@ -197,8 +190,6 @@ sal_uInt16 XclImpBiff5Decrypter::OnRead( SvStream& rStrm, sal_uInt8* pnData, sal return nRet; } - - XclImpBiff8Decrypter::XclImpBiff8Decrypter( sal_uInt8 pnSalt[ 16 ], sal_uInt8 pnVerifier[ 16 ], sal_uInt8 pnVerifierHash[ 16 ] ) : maSalt( pnSalt, pnSalt + 16 ), @@ -321,10 +312,7 @@ sal_uInt16 XclImpBiff8Decrypter::GetOffset( sal_Size nStrmPos ) const return static_cast< sal_uInt16 >( nStrmPos % EXC_ENCR_BLOCKSIZE ); } - // Stream - - XclImpStreamPos::XclImpStreamPos() : mnPos( STREAM_SEEK_TO_BEGIN ), mnNextPos( STREAM_SEEK_TO_BEGIN ), @@ -364,8 +352,6 @@ void XclImpStreamPos::Get( rbValid = mbValid; } - - XclBiff XclImpStream::DetectBiffVersion( SvStream& rStrm ) { XclBiff eBiff = EXC_BIFF_UNKNOWN; @@ -512,8 +498,6 @@ void XclImpStream::EnableDecryption( bool bEnable ) mbUseDecr = bEnable && HasValidDecrypter(); } - - void XclImpStream::PushPosition() { maPosStack.push_back( XclImpStreamPos() ); @@ -604,8 +588,6 @@ sal_uInt16 XclImpStream::PeekRecId( sal_Size nPos ) return nRecId; } - - XclImpStream& XclImpStream::operator>>( sal_Int8& rnValue ) { if( EnsureRawReadSize( 1 ) ) @@ -872,8 +854,6 @@ void XclImpStream::Ignore( sal_Size nBytes ) } } - - sal_Size XclImpStream::ReadUniStringExtHeader( bool& rb16Bit, bool& rbRich, bool& rbFareast, sal_uInt16& rnFormatRuns, sal_uInt32& rnExtInf, sal_uInt8 nFlags ) @@ -895,8 +875,6 @@ sal_Size XclImpStream::ReadUniStringExtHeader( bool& rb16Bit, sal_uInt8 nFlags ) return ReadUniStringExtHeader( rb16Bit, bRich, bFareast, nCrun, nExtInf, nFlags ); } - - OUString XclImpStream::ReadRawUniString( sal_uInt16 nChars, bool b16Bit ) { OUString aRet; @@ -1008,8 +986,6 @@ void XclImpStream::IgnoreUniString( sal_uInt16 nChars ) IgnoreUniString( nChars, ReaduInt8() ); } - - OUString XclImpStream::ReadRawByteString( sal_uInt16 nChars ) { sal_Char* pcBuffer = new sal_Char[ nChars + 1 ]; |