diff options
Diffstat (limited to 'idl/source/prj/database.cxx')
-rw-r--r-- | idl/source/prj/database.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index d3882cff557c..2cddc15b444b 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -575,7 +575,7 @@ void SvIdlDataBase::WriteError( SvTokenStream & rInStm ) { // error set // search error token // error text - if( aError.GetText().getLength() ) + if( !aError.GetText().isEmpty() ) { aErrorText.append(RTL_CONSTASCII_STRINGPARAM("may be <")); aErrorText.append(aError.GetText()); @@ -617,7 +617,7 @@ void SvIdlDataBase::WriteError( SvTokenStream & rInStm ) if( pTok && pTok->IsIdentifier() ) { rtl::OString aN = IDLAPP->pHashTable->GetNearString( pTok->GetString() ); - if( aN.getLength() ) + if( !aN.isEmpty() ) fprintf( stderr, "%s versus %s\n", pTok->GetString().GetBuffer(), aN.getStr() ); } } |