diff options
author | Justin Malcolm <malcolm.justin@gmail.com> | 2010-09-29 14:14:15 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-09-29 14:14:15 -0400 |
commit | 31018e35b1984aad1f01a389b1fd3428d52acf6e (patch) | |
tree | 80c65287ee3064cb5208daa0d78f1d97bc37c6ce /sc/source/filter/excel/xestream.cxx | |
parent | da4c41c60b8224888486111c1bc01c813ff670c5 (diff) |
I think that this eliminates the remaining //UNUSED comments
There were still some of these comments (actually, a lot of them).
The most recent attachment should get rid of the last of them.
(fd#30442)
Diffstat (limited to 'sc/source/filter/excel/xestream.cxx')
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index f828079c8735..60bde56e827d 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -296,28 +296,6 @@ sal_Size XclExpStream::CopyFromStream( SvStream& rInStrm, sal_Size nBytes ) return nRet; } -//UNUSED2008-05 void XclExpStream::WriteUnicodeBuffer( const sal_uInt16* pBuffer, sal_Size nChars, sal_uInt8 nFlags ) -//UNUSED2008-05 { -//UNUSED2008-05 SetSliceSize( 0 ); -//UNUSED2008-05 if( pBuffer && (nChars > 0) ) -//UNUSED2008-05 { -//UNUSED2008-05 sal_uInt16 nCharLen = (nFlags & EXC_STRF_16BIT) ? 2 : 1; -//UNUSED2008-05 for( sal_Size nIndex = 0; nIndex < nChars; ++nIndex ) -//UNUSED2008-05 { -//UNUSED2008-05 if( mbInRec && (mnCurrSize + nCharLen > mnCurrMaxSize) ) -//UNUSED2008-05 { -//UNUSED2008-05 StartContinue(); -//UNUSED2008-05 // repeat only 16bit flag -//UNUSED2008-05 operator<<( static_cast< sal_uInt8 >( nFlags & EXC_STRF_16BIT ) ); -//UNUSED2008-05 } -//UNUSED2008-05 if( nCharLen == 2 ) -//UNUSED2008-05 operator<<( pBuffer[ nIndex ] ); -//UNUSED2008-05 else -//UNUSED2008-05 operator<<( static_cast< sal_uInt8 >( pBuffer[ nIndex ] ) ); -//UNUSED2008-05 } -//UNUSED2008-05 } -//UNUSED2008-05 } - void XclExpStream::WriteUnicodeBuffer( const ScfUInt16Vec& rBuffer, sal_uInt8 nFlags ) { SetSliceSize( 0 ); @@ -339,12 +317,6 @@ void XclExpStream::WriteUnicodeBuffer( const ScfUInt16Vec& rBuffer, sal_uInt8 nF } } -//UNUSED2008-05 void XclExpStream::WriteByteStringBuffer( const ByteString& rString, sal_uInt16 nMaxLen ) -//UNUSED2008-05 { -//UNUSED2008-05 SetSliceSize( 0 ); -//UNUSED2008-05 Write( rString.GetBuffer(), ::std::min< sal_Size >( rString.Len(), nMaxLen ) ); -//UNUSED2008-05 } - // ER: #71367# Xcl has an obscure sense of whether starting a new record or not, // and crashes if it encounters the string header at the very end of a record. // Thus we add 1 to give some room, seems like they do it that way but with another count (10?) |