summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolypolygon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/polygon/b2dpolypolygon.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolypolygon.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygon.cxx b/basegfx/source/polygon/b2dpolypolygon.cxx
index d640c5383538..535f7b457684 100644
--- a/basegfx/source/polygon/b2dpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dpolypolygon.cxx
@@ -138,7 +138,7 @@ public:
const basegfx::B2DPolygon* begin() const
{
if(maPolygons.empty())
- return 0;
+ return nullptr;
else
return &maPolygons.front();
}
@@ -146,7 +146,7 @@ public:
const basegfx::B2DPolygon* end() const
{
if(maPolygons.empty())
- return 0;
+ return nullptr;
else
return (&maPolygons.back())+1;
}
@@ -154,7 +154,7 @@ public:
basegfx::B2DPolygon* begin()
{
if(maPolygons.empty())
- return 0;
+ return nullptr;
else
return &maPolygons.front();
}
@@ -162,7 +162,7 @@ public:
basegfx::B2DPolygon* end()
{
if(maPolygons.empty())
- return 0;
+ return nullptr;
else
return &(maPolygons.back())+1;
}