diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-04-07 01:40:42 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-04-07 01:40:42 +0200 |
commit | 942acfd678f1599b4dc2b05d9e5b4eca07177459 (patch) | |
tree | 077ae0e8a8d0b06da7f64454ffc72d39c26a92aa /oox/source/dump | |
parent | c1036d7ab06e6b85763e90659c08e1f450ff50ab (diff) |
Some cleaning in oox::dump :
oox::dump::InputObjectBase
oox::dump::Output
Diffstat (limited to 'oox/source/dump')
-rw-r--r-- | oox/source/dump/dumperbase.cxx | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 2aaee5d286eb..1f1cbc22b1d4 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -1813,18 +1813,6 @@ void Output::writeBool( bool bData ) StringHelper::appendBool( maLine, bData ); } -void Output::writeColorABGR( sal_Int32 nColor ) -{ - writeChar( 'a' ); - writeDec( static_cast< sal_uInt8 >( nColor >> 24 ) ); - writeAscii( ",r" ); - writeDec( static_cast< sal_uInt8 >( nColor ) ); - writeAscii( ",g" ); - writeDec( static_cast< sal_uInt8 >( nColor >> 8 ) ); - writeAscii( ",b" ); - writeDec( static_cast< sal_uInt8 >( nColor >> 16 ) ); -} - void Output::writeDateTime( const DateTime& rDateTime ) { writeDec( rDateTime.Year, 4, '0' ); @@ -1850,27 +1838,6 @@ void Output::writeRowIndex( sal_Int32 nRow ) StringHelper::appendAddrRow( maLine, nRow, true ); } -void Output::writeColRowRange( sal_Int32 nColRow1, sal_Int32 nColRow2 ) -{ - writeDec( nColRow1 ); - writeChar( OOX_DUMP_RANGESEP ); - writeDec( nColRow2 ); -} - -void Output::writeColRange( sal_Int32 nCol1, sal_Int32 nCol2 ) -{ - writeColIndex( nCol1 ); - writeChar( OOX_DUMP_RANGESEP ); - writeColIndex( nCol2 ); -} - -void Output::writeRowRange( sal_Int32 nRow1, sal_Int32 nRow2 ) -{ - writeRowIndex( nRow1 ); - writeChar( OOX_DUMP_RANGESEP ); - writeRowIndex( nRow2 ); -} - // ---------------------------------------------------------------------------- bool Output::implIsValid() const @@ -2385,28 +2352,6 @@ OUString InputObjectBase::dumpUnicodeArray( const String& rName, sal_Int32 nLen, return aString; } -OUString InputObjectBase::dumpNullCharArray( const String& rName, rtl_TextEncoding eTextEnc ) -{ - OStringBuffer aBuffer; - sal_uInt8 nChar; - for( *mxStrm >> nChar; !mxStrm->isEof() && (nChar > 0); *mxStrm >> nChar ) - aBuffer.append( static_cast< sal_Char >( nChar ) ); - OUString aString = OStringToOUString( aBuffer.makeStringAndClear(), eTextEnc ); - writeStringItem( rName( "text" ), aString ); - return aString; -} - -OUString InputObjectBase::dumpNullUnicodeArray( const String& rName ) -{ - OUStringBuffer aBuffer; - sal_uInt16 nChar; - for( *mxStrm >> nChar; !mxStrm->isEof() && (nChar > 0); *mxStrm >> nChar ) - aBuffer.append( static_cast< sal_Unicode >( nChar ) ); - OUString aString = aBuffer.makeStringAndClear(); - writeStringItem( rName( "text" ), aString ); - return aString; -} - DateTime InputObjectBase::dumpFileTime( const String& rName ) { DateTime aDateTime; |