diff options
Diffstat (limited to 'svtools/source/misc/imap.cxx')
-rw-r--r-- | svtools/source/misc/imap.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/misc/imap.cxx b/svtools/source/misc/imap.cxx index d38995ef69af..b989171e5e04 100644 --- a/svtools/source/misc/imap.cxx +++ b/svtools/source/misc/imap.cxx @@ -194,7 +194,7 @@ void IMapRectangleObject::WriteIMapObject( SvStream& rOStm ) const void IMapRectangleObject::ReadIMapObject( SvStream& rIStm ) { - rIStm >> aRect; + ReadRectangle( rIStm, aRect ); } @@ -307,7 +307,7 @@ void IMapCircleObject::ReadIMapObject( SvStream& rIStm ) { sal_uInt32 nTmp; - rIStm >> aCenter; + ReadPair( rIStm, aCenter ); rIStm >> nTmp; nRadius = nTmp; @@ -445,13 +445,13 @@ void IMapPolygonObject::WriteIMapObject( SvStream& rOStm ) const void IMapPolygonObject::ReadIMapObject( SvStream& rIStm ) { - rIStm >> aPoly; + ReadPolygon( rIStm, aPoly ); // Version >= 2 has additional ellipses information if ( nReadVersion >= 2 ) { rIStm >> bEllipse; - rIStm >> aEllipse; + ReadRectangle( rIStm, aEllipse ); } } |