summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-17 14:55:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-17 15:20:43 +0200
commit9f23260105672903a047c2194a36ebd448fff135 (patch)
tree9408d894cebb45123235ae8a86700a0f8686d7af /svtools
parentc007829a67456ef01b82b8368f7ed3e5a3026c95 (diff)
SvStream: WriteUChar -> WriteBool
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/grfattr.cxx2
-rw-r--r--svtools/source/graphic/grfmgr.cxx2
-rw-r--r--svtools/source/misc/imap.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/graphic/grfattr.cxx b/svtools/source/graphic/grfattr.cxx
index 6a11cb266115..29e5e50b0bdd 100644
--- a/svtools/source/graphic/grfattr.cxx
+++ b/svtools/source/graphic/grfattr.cxx
@@ -108,7 +108,7 @@ SvStream& WriteGraphicAttr( SvStream& rOStm, const GraphicAttr& rAttr )
rOStm.WriteDouble( rAttr.mfGamma );
rOStm.WriteUInt32( rAttr.mnMirrFlags ).WriteUInt16( rAttr.mnRotate10 );
rOStm.WriteInt16( rAttr.mnContPercent ).WriteInt16( rAttr.mnLumPercent ).WriteInt16( rAttr.mnRPercent ).WriteInt16( rAttr.mnGPercent ).WriteInt16( rAttr.mnBPercent );
- rOStm.WriteUChar( rAttr.mbInvert ).WriteUChar( rAttr.mcTransparency ).WriteUInt16( rAttr.meDrawMode );
+ rOStm.WriteBool( rAttr.mbInvert ).WriteUChar( rAttr.mcTransparency ).WriteUInt16( rAttr.meDrawMode );
rOStm.WriteInt32( rAttr.mnLeftCrop )
.WriteInt32( rAttr.mnTopCrop )
.WriteInt32( rAttr.mnRightCrop )
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index c91b6e0236b3..0ee4ff9bcdbf 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -1122,7 +1122,7 @@ SvStream& WriteGraphicObject( SvStream& rOStm, const GraphicObject& rGraphicObj
WriteGraphic( rOStm, rGraphicObj.GetGraphic() );
WriteGraphicAttr( rOStm, rGraphicObj.GetAttr() );
- rOStm.WriteUChar( bLink );
+ rOStm.WriteBool( bLink );
if( bLink )
write_uInt16_lenPrefixed_uInt8s_FromOUString(rOStm, rGraphicObj.GetLink(), RTL_TEXTENCODING_UTF8);
diff --git a/svtools/source/misc/imap.cxx b/svtools/source/misc/imap.cxx
index 3df94ab93e7f..d005651a4213 100644
--- a/svtools/source/misc/imap.cxx
+++ b/svtools/source/misc/imap.cxx
@@ -78,7 +78,7 @@ void IMapObject::Write( SvStream& rOStm, const OUString& rBaseURL ) const
URIHelper::simpleNormalizedMakeRelative(rBaseURL, aURL), eEncoding);
write_uInt16_lenPrefixed_uInt8s_FromOString(rOStm, aRelURL);
write_uInt16_lenPrefixed_uInt8s_FromOUString(rOStm, aAltText, eEncoding);
- rOStm.WriteUChar( bActive );
+ rOStm.WriteBool( bActive );
write_uInt16_lenPrefixed_uInt8s_FromOUString(rOStm, aTarget, eEncoding);
boost::scoped_ptr<IMapCompat> pCompat(new IMapCompat( rOStm, StreamMode::WRITE ));
@@ -418,7 +418,7 @@ void IMapPolygonObject::ImpConstruct( const Polygon& rPoly, bool bPixel )
void IMapPolygonObject::WriteIMapObject( SvStream& rOStm ) const
{
WritePolygon( rOStm, aPoly );
- rOStm.WriteUChar( bEllipse ); // >= Version 2
+ rOStm.WriteBool( bEllipse ); // >= Version 2
WriteRectangle( rOStm, aEllipse ); // >= Version 2
}