diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8par5.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par5.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index e39f5c7d9a8b..6a7a02aad34c 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -731,7 +731,7 @@ sal_uInt16 SwWW8ImplReader::End_Field() break; default: rtl::OUString aCode = maFieldStack.back().GetBookmarkCode(); - if ( aCode.getLength() > 0 ) + if ( !aCode.isEmpty() ) { // Unhandled field with stored code SwPosition aEndPos = *pPaM->GetPoint(); @@ -2326,7 +2326,7 @@ bool CanUseRemoteLink(const String &rGrfName) aCnt.getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Title"))) >>= aTitle; - bUseRemote = (aTitle.getLength() > 0); + bUseRemote = !aTitle.isEmpty(); } catch ( ... ) { |