diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-16 23:15:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-17 23:04:11 +0000 |
commit | 9d2807cc9df0a71fd367aaf44c8467cc4c72caca (patch) | |
tree | 886d408c8011f94b3070e5f69430e2722fa7d04c /vcl/source/gdi/cvtsvm.cxx | |
parent | cee0d7a26a5098f6c39ac3ce634632a432402379 (diff) |
ditch ENABLE_BYTESTRING_STREAM_OPERATORS
Diffstat (limited to 'vcl/source/gdi/cvtsvm.cxx')
-rw-r--r-- | vcl/source/gdi/cvtsvm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/cvtsvm.cxx b/vcl/source/gdi/cvtsvm.cxx index e3d027e29ad5..2fe6a96fdb04 100644 --- a/vcl/source/gdi/cvtsvm.cxx +++ b/vcl/source/gdi/cvtsvm.cxx @@ -29,8 +29,6 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_vcl.hxx" -#define ENABLE_BYTESTRING_STREAM_OPERATORS - #include <algorithm> #include <string.h> #include <tools/stack.hxx> @@ -1326,7 +1324,8 @@ void SVMConverter::ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf ) sal_uInt8* pData; sal_Int32 nFollowingActionCount; - rIStm >> aComment >> nValue >> nDataSize; + rIStm.ReadByteString(aComment); + rIStm >> nValue >> nDataSize; if( nDataSize ) { @@ -2397,7 +2396,8 @@ sal_uLong SVMConverter::ImplWriteActions( SvStream& rOStm, GDIMetaFile& rMtf, rOStm.SeekRel( 4 ); // write data - rOStm << pA->GetComment() << pA->GetValue() << nDataSize; + rOStm.WriteByteString(pA->GetComment()); + rOStm << pA->GetValue() << nDataSize; if( nDataSize ) rOStm.Write( pA->GetData(), nDataSize ); |