diff options
Diffstat (limited to 'basegfx/source/polygon/b3dpolypolygon.cxx')
-rw-r--r-- | basegfx/source/polygon/b3dpolypolygon.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/polygon/b3dpolypolygon.cxx b/basegfx/source/polygon/b3dpolypolygon.cxx index 98bc7ca2959d..feb2a0587c1b 100644 --- a/basegfx/source/polygon/b3dpolypolygon.cxx +++ b/basegfx/source/polygon/b3dpolypolygon.cxx @@ -156,7 +156,7 @@ public: const basegfx::B3DPolygon* begin() const { if(maPolygons.empty()) - return 0; + return nullptr; else return &maPolygons.front(); } @@ -164,7 +164,7 @@ public: const basegfx::B3DPolygon* end() const { if(maPolygons.empty()) - return 0; + return nullptr; else return (&maPolygons.back())+1; } @@ -172,7 +172,7 @@ public: basegfx::B3DPolygon* begin() { if(maPolygons.empty()) - return 0; + return nullptr; else return &maPolygons.front(); } @@ -180,7 +180,7 @@ public: basegfx::B3DPolygon* end() { if(maPolygons.empty()) - return 0; + return nullptr; else return &(maPolygons.back())+1; } |