summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-03 13:32:57 +0200
committerNoel Grandin <noel@peralex.com>2016-06-03 13:33:26 +0200
commit1741c0ff36e57f0629ff360a79b18c2d11bb8092 (patch)
tree3ffb364d1e5f72d87b036422e3f08f389d6b1033 /tools/source
parent013f9d5aaa5799a7fe3ddfc2ff61ec449c0462b0 (diff)
drop "Solar-Version not set on rIStream" messages
nothing else in our codebase seems to care if we set a version on an SvStream Change-Id: I6c0e78dade5f1e79c4b5bf1ffe2a35d5261b6008
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/generic/poly.cxx2
-rw-r--r--tools/source/generic/poly2.cxx6
2 files changed, 0 insertions, 8 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 519c9b45c1da..f8df46df2057 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1557,8 +1557,6 @@ bool Polygon::IsEqual( const tools::Polygon& rPoly ) const
SvStream& ReadPolygon( SvStream& rIStream, tools::Polygon& rPoly )
{
- SAL_WARN_IF( !rIStream.GetVersion(), "tools", "Polygon::>> - Solar-Version not set on rIStream" );
-
sal_uInt16 i;
sal_uInt16 nPoints(0);
diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx
index 35afdd4e0f86..08f1bb877f2d 100644
--- a/tools/source/generic/poly2.cxx
+++ b/tools/source/generic/poly2.cxx
@@ -546,8 +546,6 @@ bool PolyPolygon::operator==( const tools::PolyPolygon& rPolyPoly ) const
SvStream& ReadPolyPolygon( SvStream& rIStream, tools::PolyPolygon& rPolyPoly )
{
- SAL_WARN_IF( !rIStream.GetVersion(), "tools", "PolyPolygon::>> - Solar-Version not set on rIStream" );
-
tools::Polygon* pPoly;
sal_uInt16 nPolyCount(0);
@@ -587,8 +585,6 @@ SvStream& ReadPolyPolygon( SvStream& rIStream, tools::PolyPolygon& rPolyPoly )
SvStream& WritePolyPolygon( SvStream& rOStream, const tools::PolyPolygon& rPolyPoly )
{
- SAL_WARN_IF( !rOStream.GetVersion(), "tools", "PolyPolygon::<< - Solar-Version not set on rOStream" );
-
// Write number of polygons
sal_uInt16 nPolyCount = rPolyPoly.mpImplPolyPolygon->mnCount;
rOStream.WriteUInt16( nPolyCount );
@@ -604,8 +600,6 @@ void PolyPolygon::Read( SvStream& rIStream )
{
VersionCompat aCompat( rIStream, StreamMode::READ );
- SAL_WARN_IF( !rIStream.GetVersion(), "tools","PolyPolygon::>> - Solar-Version not set on rIStream" );
-
tools::Polygon* pPoly;
sal_uInt16 nPolyCount(0);