diff options
Diffstat (limited to 'sdext/source/pdfimport/wrapper/wrapper.cxx')
-rw-r--r-- | sdext/source/pdfimport/wrapper/wrapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx index b09b50482e82..807bcddb6c4e 100644 --- a/sdext/source/pdfimport/wrapper/wrapper.cxx +++ b/sdext/source/pdfimport/wrapper/wrapper.cxx @@ -621,7 +621,7 @@ void Parser::readFont() { } - if( !aResult.familyName.getLength() ) + if( aResult.familyName.isEmpty() ) { // last fallback aResult.familyName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Arial" ) ); @@ -936,7 +936,7 @@ static bool checkEncryption( const rtl::OUString& if( o_rIsEncrypted ) { bool bAuthenticated = false; - if( io_rPwd.getLength() ) + if( !io_rPwd.isEmpty() ) { rtl::OString aIsoPwd = rtl::OUStringToOString( io_rPwd, RTL_TEXTENCODING_ISO_8859_1 ); |