From d7627da5c9b0b351e8150b08febf64273ba0231e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 11 Nov 2015 13:25:33 +0000 Subject: [PATCH] stream version doesn't matter here Change-Id: I318b0268143bef376f324afdd42692991c3bab4c --- tools/source/generic/poly.cxx | 2 -- tools/source/generic/poly2.cxx | 2 -- 2 files changed, 4 deletions(-) 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 );