summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/region.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/region.cxx')
-rw-r--r--vcl/source/gdi/region.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index e35f0b424ceb..6e3f7fe06d3d 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -1598,9 +1598,9 @@ SvStream& ReadRegion(SvStream& rIStrm, Region& rRegion)
if(aCompat.GetVersion() >= 2)
{
- sal_Bool bHasPolyPolygon(sal_False);
+ bool bHasPolyPolygon(false);
- rIStrm.ReadUChar( bHasPolyPolygon );
+ rIStrm.ReadCharAsBool( bHasPolyPolygon );
if(bHasPolyPolygon)
{
@@ -1674,7 +1674,7 @@ SvStream& WriteRegion( SvStream& rOStrm, const Region& rRegion )
}
// write polypolygon if available
- const sal_Bool bHasPolyPolygon(rRegion.HasPolyPolygonOrB2DPolyPolygon());
+ const bool bHasPolyPolygon(rRegion.HasPolyPolygonOrB2DPolyPolygon());
rOStrm.WriteUChar( bHasPolyPolygon );
if(bHasPolyPolygon)