diff options
Diffstat (limited to 'basegfx/source/polygon/b2dtrapezoid.cxx')
-rw-r--r-- | basegfx/source/polygon/b2dtrapezoid.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dtrapezoid.cxx b/basegfx/source/polygon/b2dtrapezoid.cxx index 18e4e63189f5..c9ded97ee412 100644 --- a/basegfx/source/polygon/b2dtrapezoid.cxx +++ b/basegfx/source/polygon/b2dtrapezoid.cxx @@ -115,7 +115,7 @@ namespace basegfx // data write access to StartPoint void setStart( const B2DPoint* pNewStart) { - OSL_ENSURE(0 != pNewStart, "No null pointer allowed here (!)"); + OSL_ENSURE(nullptr != pNewStart, "No null pointer allowed here (!)"); if(mpStart != pNewStart) { @@ -129,7 +129,7 @@ namespace basegfx // data write access to EndPoint void setEnd( const B2DPoint* pNewEnd) { - OSL_ENSURE(0 != pNewEnd, "No null pointer allowed here (!)"); + OSL_ENSURE(nullptr != pNewEnd, "No null pointer allowed here (!)"); if(mpEnd != pNewEnd) { |