diff options
Diffstat (limited to 'oox/source/drawingml/customshapeproperties.cxx')
-rw-r--r-- | oox/source/drawingml/customshapeproperties.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/customshapeproperties.cxx b/oox/source/drawingml/customshapeproperties.cxx index 80a3c2a3e036..323831166f59 100644 --- a/oox/source/drawingml/customshapeproperties.cxx +++ b/oox/source/drawingml/customshapeproperties.cxx @@ -175,7 +175,7 @@ void CustomShapeProperties::pushToPropSet( } } - if ( maAdjustmentGuideList.size() ) + if ( !maAdjustmentGuideList.empty() ) { const OUString sType = "Type"; if ( aGeoPropSet >>= aGeoPropSeq ) @@ -237,7 +237,7 @@ void CustomShapeProperties::pushToPropSet( // This size specifically affects scaling. // Note 2: Width and Height are set to 0 to force scaling to 1. awt::Rectangle aViewBox( 0, 0, aSize.Width, aSize.Height ); - if( maGuideList.size() ) + if( !maGuideList.empty() ) aViewBox = awt::Rectangle( 0, 0, 0, 0 ); aPropertyMap.setProperty( PROP_ViewBox, aViewBox); @@ -276,7 +276,7 @@ void CustomShapeProperties::pushToPropSet( aParameterPairs[ k++ ] = j; aPath.setProperty( PROP_Coordinates, aParameterPairs); - if ( maPath2DList.size() ) + if ( !maPath2DList.empty() ) { bool bAllZero = true; for ( auto const & i: maPath2DList ) |