diff options
Diffstat (limited to 'tools/source/generic/poly2.cxx')
-rw-r--r-- | tools/source/generic/poly2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx index 4fa9a839f0ae..7b92501a6cb5 100644 --- a/tools/source/generic/poly2.cxx +++ b/tools/source/generic/poly2.cxx @@ -630,7 +630,7 @@ SvStream& operator<<( SvStream& rOStream, const PolyPolygon& rPolyPoly ) // Write number of polygons sal_uInt16 nPolyCount = rPolyPoly.mpImplPolyPolygon->mnCount; - rOStream << nPolyCount; + rOStream.WriteUInt16( nPolyCount ); // output polygons for ( sal_uInt16 i = 0; i < nPolyCount; i++ ) @@ -681,7 +681,7 @@ void PolyPolygon::Write( SvStream& rOStream ) const // Write number of polygons sal_uInt16 nPolyCount = mpImplPolyPolygon->mnCount; - rOStream << nPolyCount; + rOStream.WriteUInt16( nPolyCount ); // Output polygons for ( sal_uInt16 i = 0; i < nPolyCount; i++ ) |