summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/poly.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index e4153b9af6f9..53577424d666 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1643,7 +1643,7 @@ void Polygon::ImplWrite( SvStream& rOStream ) const
{
bool bHasPolyFlags = mpImplPolygon->mpFlagAry != NULL;
WritePolygon( rOStream, *this );
- rOStream.WriteUChar(bHasPolyFlags);
+ rOStream.WriteBool(bHasPolyFlags);
if ( bHasPolyFlags )
rOStream.Write( mpImplPolygon->mpFlagAry, mpImplPolygon->mnPoints );