diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index c92895e381be..ada70516d1ea 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -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(); diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx index 80ace373bd05..65db27eedfed 100644 --- a/tools/source/generic/poly2.cxx +++ b/tools/source/generic/poly2.cxx @@ -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 );