diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2019-12-01 05:49:45 +1100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-11 07:00:02 +0100 |
commit | 5c38453d830d9e71bfccea846c8b4e8f76a3cfae (patch) | |
tree | 47fbfa7880b5d603b7a14ef2f1b303062521d4c9 /basegfx | |
parent | 544b5bf273b501f9deeed01684ad685e4bac6b55 (diff) |
basegfx: fix assertion text
Change-Id: Ibfcc30327d2f55b994e3d8aa485bbb5499ed7f22
Reviewed-on: https://gerrit.libreoffice.org/84141
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dlinegeometry.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx index 190a413dfd00..007ff8b4811d 100644 --- a/basegfx/source/polygon/b2dlinegeometry.cxx +++ b/basegfx/source/polygon/b2dlinegeometry.cxx @@ -46,11 +46,11 @@ namespace basegfx double fShift) { B2DPolyPolygon aRetval; - assert((rCandidate.count() > 1) && "createAreaGeometryForLineStartEnd: Line polygon has too less points (!)"); - assert((rArrow.count() > 0) && "createAreaGeometryForLineStartEnd: Empty arrow utils::PolyPolygon (!)"); - assert((fWidth > 0.0) && "createAreaGeometryForLineStartEnd: Width too small (!)"); + assert((rCandidate.count() > 1) && "createAreaGeometryForLineStartEnd: Line polygon has too few points"); + assert((rArrow.count() > 0) && "createAreaGeometryForLineStartEnd: Empty arrow utils::PolyPolygon"); + assert((fWidth > 0.0) && "createAreaGeometryForLineStartEnd: Width too small"); assert((fDockingPosition >= 0.0 && fDockingPosition <= 1.0) && - "createAreaGeometryForLineStartEnd: fDockingPosition out of range [0.0 .. 1.0] (!)"); + "createAreaGeometryForLineStartEnd: fDockingPosition out of range [0.0 .. 1.0]"); if(fWidth < 0.0) { |