diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-09 21:47:17 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-09 21:47:31 +0100 |
commit | 6dddefc6e7ff6dc5cde46dde069ba1d7db4ac34b (patch) | |
tree | 7dafa2c2f9ac052a8b371f70c267c5c847dd2c5a /bridges | |
parent | remove commented out code (diff) | |
download | core-6dddefc6e7ff6dc5cde46dde069ba1d7db4ac34b.tar.gz core-6dddefc6e7ff6dc5cde46dde069ba1d7db4ac34b.zip |
fdo#43460: use isEmpty()
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/cc50_solaris_intel/except.cxx | 4 | ||||
-rw-r--r-- | bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx b/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx index 36bd7a689d92..7c9d61df6a5f 100644 --- a/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx +++ b/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx @@ -68,7 +68,7 @@ static OString toUNOname( const OString & rRTTIname ) { if( *pRTTI == ':' || ! *pRTTI ) { - if( aRet.getLength() ) + if( !aRet.isEmpty() ) aRet += "."; aRet += rRTTIname.copy( pLast - pOrg, pRTTI - pLast ); while( *pRTTI == ':' ) @@ -102,7 +102,7 @@ static OString toRTTIname( const OString & rUNOname ) static OString toRTTImangledname( const OString & rRTTIname ) { - if( ! rRTTIname.getLength() ) + if( rRTTIname.isEmpty() ) return OString(); OStringBuffer aRet( rRTTIname.getLength()*2 ); diff --git a/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx b/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx index ebb0918a15ef..9beb24c4b657 100644 --- a/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx +++ b/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx @@ -70,7 +70,7 @@ static OString toUNOname( const OString & rRTTIname ) { if( *pRTTI == ':' || ! *pRTTI ) { - if( aRet.getLength() ) + if( !aRet.isEmpty() ) aRet += "."; aRet += rRTTIname.copy( pLast - pOrg, pRTTI - pLast ); while( *pRTTI == ':' ) @@ -104,7 +104,7 @@ static OString toRTTIname( const OString & rUNOname ) static OString toRTTImangledname( const OString & rRTTIname ) { - if( ! rRTTIname.getLength() ) + if( rRTTIname.isEmpty() ) return OString(); OStringBuffer aRet( rRTTIname.getLength()*2 ); |