summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-04-06 14:42:08 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-04-06 16:27:38 +0200
commit7cc6de1cc2cfb466131072c2a1cd99c4a6279ebc (patch)
tree4ab93081cf4e75ccd7e871af0c396e890a5c4607 /sc
parent74116032d3ebab422ba8508f42198d101822024f (diff)
remove whitespace
Change-Id: Id8014a1165876e903a7a4311af43d4a946703f11
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xistream.cxx24
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 ];