summaryrefslogtreecommitdiffstats
path: root/svx/source/customshapes
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-08-13 15:12:01 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-08-13 15:12:35 +0200
commit66fd1442696059cc6de07ec96af77082654a0990 (patch)
tree5368bc4dc5c39ff03dd9222bafd57442df0ff63e /svx/source/customshapes
parentReplace removed ByteString API usage (diff)
downloadcore-66fd1442696059cc6de07ec96af77082654a0990.tar.gz
core-66fd1442696059cc6de07ec96af77082654a0990.zip
Some cppcheck cleaning
Diffstat (limited to 'svx/source/customshapes')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index ea757e9ec0fc..1d0baff17e5d 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -2013,7 +2013,7 @@ SdrObject* EnhancedCustomShape2d::CreatePathObj( sal_Bool bLineGeometryNeededOnl
SdrObject* pRet = NULL;
sal_uInt32 i;
- if ( vObjectList.size() )
+ if ( !vObjectList.empty() )
{
const SfxItemSet& rCustomShapeSet = pCustomShapeObj->GetMergedItemSet();
Color aFillColor;
@@ -2021,7 +2021,7 @@ SdrObject* EnhancedCustomShape2d::CreatePathObj( sal_Bool bLineGeometryNeededOnl
sal_uInt32 nColorIndex = 0;
// #i37011# remove invisible objects
- if(vObjectList.size())
+ if(!vObjectList.empty())
{
std::vector< SdrPathObj* > vTempList;