[Libreoffice-commits] core.git: basegfx/source
Chris Sherlock (via logerrit)
logerrit at kemper.freedesktop.org
Wed Dec 11 06:00:59 UTC 2019
basegfx/source/polygon/b2dlinegeometry.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 5c38453d830d9e71bfccea846c8b4e8f76a3cfae
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
AuthorDate: Sun Dec 1 05:49:45 2019 +1100
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Dec 11 07:00:02 2019 +0100
basegfx: fix assertion text
Change-Id: Ibfcc30327d2f55b994e3d8aa485bbb5499ed7f22
Reviewed-on: https://gerrit.libreoffice.org/84141
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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)
{
More information about the Libreoffice-commits
mailing list