diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-06-17 20:30:22 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-06-17 19:55:17 +0000 |
commit | 50e6713e40cd239f7e568f00ad7adf44bda3453f (patch) | |
tree | b5daffb075b1a3a3ce797a9e06377e734eb3e4c6 /oox/source/ppt | |
parent | af7cfa0071f5b2be33e9b887e6221c5047d21262 (diff) |
fdo#43460 oox: use isEmpty()
Change-Id: If291a72d87001932c605755d628cecc088d50275
Reviewed-on: https://gerrit.libreoffice.org/4324
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'oox/source/ppt')
-rw-r--r-- | oox/source/ppt/commonbehaviorcontext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/commonbehaviorcontext.cxx b/oox/source/ppt/commonbehaviorcontext.cxx index ffaeef5e38b3..dd19deef6259 100644 --- a/oox/source/ppt/commonbehaviorcontext.cxx +++ b/oox/source/ppt/commonbehaviorcontext.cxx @@ -69,7 +69,7 @@ namespace oox { namespace ppt { std::list< Attribute >::const_iterator iter; for(iter = maAttributes.begin(); iter != maAttributes.end(); ++iter) { - if( sAttributes.getLength() ) + if( !sAttributes.isEmpty() ) { sAttributes.appendAscii( ";" ); } |