stream version doesn't matter here

Change-Id: I318b0268143bef376f324afdd42692991c3bab4c
This commit is contained in:
Caolán McNamara 2015-11-11 13:25:33 +00:00
parent c4ef30ea91
commit d7627da5c9
2 changed files with 0 additions and 4 deletions

View File

@ -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();

View File

@ -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 );