summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-11 13:25:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-11 17:21:22 +0000
commitd7627da5c9b0b351e8150b08febf64273ba0231e (patch)
treedc597be03b0a2a02f0cc2d883f274386125f016c /tools
parentc4ef30ea916752ba5a057b49960a60a55f70c84c (diff)
stream version doesn't matter here
Change-Id: I318b0268143bef376f324afdd42692991c3bab4c
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/poly.cxx2
-rw-r--r--tools/source/generic/poly2.cxx2
2 files changed, 0 insertions, 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 );