summaryrefslogtreecommitdiff
path: root/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sdr/attribute/sdrallfillattributeshelper.cxx')
-rw-r--r--svx/source/sdr/attribute/sdrallfillattributeshelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx b/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx
index 0c6067cd3efd..78e136b652ae 100644
--- a/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx
+++ b/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx
@@ -139,12 +139,12 @@ namespace drawinglayer
const basegfx::B2DRange& rPaintRange,
const basegfx::B2DRange& rDefineRange) const
{
- if(maPrimitives.size() && (maLastPaintRange != rPaintRange || maLastDefineRange != rDefineRange))
+ if(!maPrimitives.empty() && (maLastPaintRange != rPaintRange || maLastDefineRange != rDefineRange))
{
const_cast< SdrAllFillAttributesHelper* >(this)->maPrimitives.clear();
}
- if(!maPrimitives.size())
+ if(maPrimitives.empty())
{
const_cast< SdrAllFillAttributesHelper* >(this)->createPrimitive2DSequence(rPaintRange, rDefineRange);
}