diff options
author | drazil <abcdefghi236@gmail.com> | 2016-08-27 08:22:47 +0800 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-08-29 09:15:44 +0000 |
commit | 41ce5e234c5b884b2efd426f46caec2831545b45 (patch) | |
tree | d5cb196428aa28504bf85242b092fd853adebf7b | |
parent | 5586629f7519bc7e9d715f043327e9b87e54e597 (diff) |
tdf#43157 Clean up OSL_ASSERT
Clean up OSL_ASSERT in basegfx/source/tools/b2dclipstate.cxx
Change-Id: I4107980aa079b0e0e8605de34ecfd01587647af6
Reviewed-on: https://gerrit.libreoffice.org/28417
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r-- | basegfx/source/tools/b2dclipstate.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/basegfx/source/tools/b2dclipstate.cxx b/basegfx/source/tools/b2dclipstate.cxx index 84e8e2cf58d4..db0932494626 100644 --- a/basegfx/source/tools/b2dclipstate.cxx +++ b/basegfx/source/tools/b2dclipstate.cxx @@ -196,7 +196,7 @@ namespace tools switch(mePendingOps) { case UNION: - OSL_ASSERT( !bIsCleared ); + assert( !bIsCleared ); if( bIsEmpty ) maClipPoly = maPendingPolygons; @@ -206,7 +206,7 @@ namespace tools maPendingPolygons); break; case INTERSECT: - OSL_ASSERT( !bIsEmpty ); + assert( !bIsEmpty ); if( bIsCleared ) maClipPoly = maPendingPolygons; @@ -240,7 +240,7 @@ namespace tools maPendingPolygons); break; case SUBTRACT: - OSL_ASSERT( !bIsEmpty ); + assert( !bIsEmpty ); // first union all pending ones, subtract en bloc then maPendingPolygons = solveCrossovers(maPendingPolygons); @@ -286,7 +286,7 @@ namespace tools switch(mePendingOps) { case UNION: - OSL_ASSERT( !bIsCleared ); + assert( !bIsCleared ); aCollectedRanges = maPendingRanges.solveCrossovers(); aCollectedRanges = stripNeutralPolygons(aCollectedRanges); @@ -299,7 +299,7 @@ namespace tools aCollectedRanges); break; case INTERSECT: - OSL_ASSERT( !bIsEmpty ); + assert( !bIsEmpty ); aCollectedRanges = maPendingRanges.solveCrossovers(); aCollectedRanges = stripNeutralPolygons(aCollectedRanges); @@ -342,7 +342,7 @@ namespace tools aCollectedRanges); break; case SUBTRACT: - OSL_ASSERT( !bIsEmpty ); + assert( !bIsEmpty ); // first union all pending ranges, subtract en bloc then aCollectedRanges = maPendingRanges.solveCrossovers(); |