diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-10 13:51:56 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-06-11 06:48:29 +0000 |
commit | d203948fdb780c7af5777fcc26ad88bac1bd714e (patch) | |
tree | 95458f3a290eed3d9a4ca13f28ec63f50490d7a6 /oox | |
parent | 754ade38ddb2e96187d00f3e621203cea34961fa (diff) |
convert 'it.begin() == it.end()' to 'it.empty()'
Change-Id: I244a9eb6bce6b1c649653ec38ebb9a39f8b4c145
Reviewed-on: https://gerrit.libreoffice.org/16212
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/textparagraph.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/textparagraph.cxx b/oox/source/drawingml/textparagraph.cxx index ce6109983895..76d299a39d44 100644 --- a/oox/source/drawingml/textparagraph.cxx +++ b/oox/source/drawingml/textparagraph.cxx @@ -76,7 +76,7 @@ void TextParagraph::insertAt( } sal_Int32 nCharHeight = 0; - if ( maRuns.begin() == maRuns.end() ) + if ( maRuns.empty() ) { PropertySet aPropSet( xAt ); |