summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
Diffstat (limited to 'idl')
-rw-r--r--idl/source/prj/database.cxx4
-rw-r--r--idl/source/prj/svidl.cxx4
2 files changed, 4 insertions, 4 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() );
}
}
diff --git a/idl/source/prj/svidl.cxx b/idl/source/prj/svidl.cxx
index f633c9a7aa1c..c250f35bcf96 100644
--- a/idl/source/prj/svidl.cxx
+++ b/idl/source/prj/svidl.cxx
@@ -232,7 +232,7 @@ int cdecl main ( int argc, char ** argv)
fprintf(stderr, "%s\n", aStr.getStr());
}
}
- if (nExit == 0 && aCommand.m_DepFile.getLength())
+ if (nExit == 0 && !aCommand.m_DepFile.isEmpty())
{
DirEntry aDE(aCommand.m_DepFile);
aDE.ToAbs();
@@ -336,7 +336,7 @@ int cdecl main ( int argc, char ** argv)
aErrFile2 = aTmpDocuFile;
}
}
- if (!bErr && aCommand.m_DepFile.getLength())
+ if (!bErr && !aCommand.m_DepFile.isEmpty())
{
bErr |= !FileMove_Impl( aCommand.m_DepFile, aTmpDepFile, bDoMove );
if (bErr) {