diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-06-22 12:53:29 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-06-24 09:00:20 +0000 |
commit | 34f50399f1bc896849a0e3fc3598ab1225d760c5 (patch) | |
tree | 0f0083ac029acee76587584b70d8b00335940878 /vcl | |
parent | fdo#52204 add more diacritics for Arabic (diff) | |
download | core-34f50399f1bc896849a0e3fc3598ab1225d760c5.tar.gz core-34f50399f1bc896849a0e3fc3598ab1225d760c5.zip |
fdo#43460 shell,vcl,xmlreader: use isEmpty()
Change-Id: Ie3d16da6c246b79c4c304b21476f84b2788f0d6e
Reviewed-on: https://gerrit.libreoffice.org/4444
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/generic/fontmanager/helper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/fontmanager/helper.cxx b/vcl/generic/fontmanager/helper.cxx index 33db29819c79..fc582bdf01e2 100644 --- a/vcl/generic/fontmanager/helper.cxx +++ b/vcl/generic/fontmanager/helper.cxx @@ -115,7 +115,7 @@ void psp::getPrinterPathList( std::list< OUString >& rPathList, const char* pSub // append net path aPathBuffer.append( getOfficePath( psp::InstallationRootPath ) ); - if( aPathBuffer.getLength() ) + if( !aPathBuffer.isEmpty() ) { aPathBuffer.appendAscii( "/share/psprint" ); if( pSubDir ) @@ -127,7 +127,7 @@ void psp::getPrinterPathList( std::list< OUString >& rPathList, const char* pSub } // append user path aPathBuffer.append( getOfficePath( psp::UserPath ) ); - if( aPathBuffer.getLength() ) + if( !aPathBuffer.isEmpty() ) { aPathBuffer.appendAscii( "/user/psprint" ); if( pSubDir ) |