diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-01-21 09:30:05 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-01-21 09:31:20 +0100 |
commit | 0d5167915b47df7c3e450614ea50d845ba959df3 (patch) | |
tree | c1317953fccfc4168d85f52ebafae34090357e6a /sw | |
parent | 411d8c2dd1cb3a9a6dbd78f34852e46c6e80f904 (diff) |
Fix Possible inefficient checking for 'aChrSetArr' emptiness
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/wrtw8esh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index 3d3cc838e40f..86e9a4a02fe6 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -888,7 +888,7 @@ void MSWord_SdrAttrIter::NextPara( sal_uInt16 nPar ) rtl_TextEncoding MSWord_SdrAttrIter::GetNextCharSet() const { - if( aChrSetArr.size() ) + if( !aChrSetArr.empty() ) return (rtl_TextEncoding)aChrSetArr[ aChrSetArr.size() - 1 ]; return eNdChrSet; } |