diff options
author | Gökhan Gurbetoğlu <gokhan.gurbetoglu@pardus.org.tr> | 2016-09-01 10:14:36 +0300 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-09-05 12:53:19 +0000 |
commit | f62d22286972d22809fafbd9cb44263d12a6aa85 (patch) | |
tree | 8dc0a1d07166b04347c1b44ac4e255f77b7ae26a /basegfx/source/polygon/b2dsvgpolypolygon.cxx | |
parent | 6004f5c61ec4b075075360e49b138d34ad84d056 (diff) |
tdf#43157 - Clean up OSL_ASSERT, DBG_ASSERT, etc.
Change-Id: I8114e338451b5b2e79b2318f558cbd075f024f08
Reviewed-on: https://gerrit.libreoffice.org/28584
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'basegfx/source/polygon/b2dsvgpolypolygon.cxx')
-rw-r--r-- | basegfx/source/polygon/b2dsvgpolypolygon.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx index 4e1a4b41be73..812cd02a8ada 100644 --- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx +++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx @@ -620,8 +620,9 @@ namespace basegfx default: { - OSL_FAIL("importFromSvgD(): skipping tags in svg:d element (unknown)!"); - OSL_TRACE("importFromSvgD(): skipping tags in svg:d element (unknown: \"%c\")!", aCurrChar); + SAL_WARN("basegfx", "importFromSvgD(): skipping tags in svg:d element (unknown: \"" + << aCurrChar + << "\")!"); ++nPos; break; } @@ -665,7 +666,7 @@ namespace basegfx OUString exportToSvgPoints( const B2DPolygon& rPoly ) { - OSL_ENSURE(!rPoly.areControlPointsUsed(), "exportToSvgPoints: Only non-bezier polygons allowed (!)"); + SAL_WARN_IF(rPoly.areControlPointsUsed(), "basegfx", "exportToSvgPoints: Only non-bezier polygons allowed (!)"); const sal_uInt32 nPointCount(rPoly.count()); OUStringBuffer aResult; |