summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmlformatting.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/vml/vmlformatting.cxx')
-rw-r--r--oox/source/vml/vmlformatting.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/vml/vmlformatting.cxx b/oox/source/vml/vmlformatting.cxx
index cbd40329ffe8..0dc6a766fee9 100644
--- a/oox/source/vml/vmlformatting.cxx
+++ b/oox/source/vml/vmlformatting.cxx
@@ -342,7 +342,7 @@ void ConversionHelper::decodeVmlPath( ::std::vector< ::std::vector< Point > >& r
{
case MOVE_REL:
aCoordList.resize(2, 0); // 2* params -> param count reset
- if ( rPointLists.size() > 0 && rPointLists.back().size() > 0 )
+ if ( !rPointLists.empty() && !rPointLists.back().empty() )
{
rPointLists.emplace_back( );
rFlagLists.emplace_back( );
@@ -355,7 +355,7 @@ void ConversionHelper::decodeVmlPath( ::std::vector< ::std::vector< Point > >& r
case MOVE_ABS:
aCoordList.resize(2, 0); // 2 params -> no param count reset
- if ( rPointLists.size() > 0 && rPointLists.back().size() > 0 )
+ if ( !rPointLists.empty() && !rPointLists.back().empty() )
{
rPointLists.emplace_back( );
rFlagLists.emplace_back( );