diff options
author | Noel Grandin <noel@peralex.com> | 2014-01-30 13:46:42 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-02-04 22:50:39 +0000 |
commit | 186b4ebc99a2e80740fee51f9d0276886a003617 (patch) | |
tree | a86a4ff5fe3cd36add7053212ef37531540be253 /tools/source/generic/poly.cxx | |
parent | 95a7e952552adb834f92d1477f83938e7c8d0204 (diff) |
convert specialised SvStream::operator>> methods to ReadXXX methods
as preparation for converting the SvStream::operator>> methods on
primitive types
Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9
Reviewed-on: https://gerrit.libreoffice.org/7798
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'tools/source/generic/poly.cxx')
-rw-r--r-- | tools/source/generic/poly.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index 538a608b4aee..2da3bb396694 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -1501,7 +1501,7 @@ bool Polygon::IsEqual( const Polygon& rPoly ) const return bIsEqual; } -SvStream& operator>>( SvStream& rIStream, Polygon& rPoly ) +SvStream& ReadPolygon( SvStream& rIStream, Polygon& rPoly ) { DBG_ASSERTWARNING( rIStream.GetVersion(), "Polygon::>> - Solar-Version not set on rIStream" ); @@ -1590,8 +1590,8 @@ void Polygon::ImplRead( SvStream& rIStream ) { sal_uInt8 bHasPolyFlags; - rIStream >> *this - >> bHasPolyFlags; + ReadPolygon( rIStream, *this ); + rIStream >> bHasPolyFlags; if ( bHasPolyFlags ) { |