stream version doesn't matter here
Change-Id: I318b0268143bef376f324afdd42692991c3bab4c
This commit is contained in:
parent
c4ef30ea91
commit
d7627da5c9
@ -1586,8 +1586,6 @@ SvStream& ReadPolygon( SvStream& rIStream, tools::Polygon& rPoly )
|
||||
|
||||
SvStream& WritePolygon( SvStream& rOStream, const tools::Polygon& rPoly )
|
||||
{
|
||||
SAL_WARN_IF( !rOStream.GetVersion(), "tools", "Polygon::<< - Solar-Version not set on rOStream" );
|
||||
|
||||
sal_uInt16 i;
|
||||
sal_uInt16 nPoints = rPoly.GetSize();
|
||||
|
||||
|
@ -645,8 +645,6 @@ void PolyPolygon::Write( SvStream& rOStream ) const
|
||||
{
|
||||
VersionCompat aCompat( rOStream, StreamMode::WRITE, 1 );
|
||||
|
||||
SAL_WARN_IF( !rOStream.GetVersion(), "tools", "PolyPolygon::<< - Solar-Version not set on rOStream" );
|
||||
|
||||
// Write number of polygons
|
||||
sal_uInt16 nPolyCount = mpImplPolyPolygon->mnCount;
|
||||
rOStream.WriteUInt16( nPolyCount );
|
||||
|
Loading…
x
Reference in New Issue
Block a user