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>
This commit is contained in:
Chris Sherlock 2019-12-01 05:49:45 +11:00 committed by Noel Grandin
parent 544b5bf273
commit 5c38453d83

View file

@ -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)
{