diff options
Diffstat (limited to 'vcl/source/gdi/region.cxx')
-rw-r--r-- | vcl/source/gdi/region.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx index 372d88527501..cec2de3f6b37 100644 --- a/vcl/source/gdi/region.cxx +++ b/vcl/source/gdi/region.cxx @@ -88,7 +88,7 @@ namespace */ std::unique_ptr<RegionBand> ImplRectilinearPolygonToBands(const tools::PolyPolygon& rPolyPoly) { - assert(ImplIsPolygonRectilinear (rPolyPoly)); + OSL_ASSERT(ImplIsPolygonRectilinear (rPolyPoly)); // Create a new RegionBand object as container of the bands. std::unique_ptr<RegionBand> pRegionBand( o3tl::make_unique<RegionBand>() ); @@ -120,7 +120,7 @@ namespace } // At this point the line has to be vertical. - assert(aStart.X() == aEnd.X()); + OSL_ASSERT(aStart.X() == aEnd.X()); // Sort y-coordinates to simplify the algorithm and store the // direction separately. The direction is calculated as it is |