summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-26 17:19:24 -0200
committerJan Holesovsky <kendy@suse.cz>2011-12-30 11:52:45 +0100
commita17fb882569046cd9f6940cf2e87435200bb666b (patch)
tree36c9a0bff1d5dd5490c03f36553f5ae7b0f4bdf1 /idl
parent6cfae09e5dafa477db210272949e253d4fb24349 (diff)
Fix for fdo43460 Part XXI getLength() to isEmpty()
Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess
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) {