summaryrefslogtreecommitdiff
path: root/idlc/source/idlccompile.cxx
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 /idlc/source/idlccompile.cxx
parent6cfae09e5dafa477db210272949e253d4fb24349 (diff)
Fix for fdo43460 Part XXI getLength() to isEmpty()
Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess
Diffstat (limited to 'idlc/source/idlccompile.cxx')
-rw-r--r--idlc/source/idlccompile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx
index b8ceb3332040..72806d9fb104 100644
--- a/idlc/source/idlccompile.cxx
+++ b/idlc/source/idlccompile.cxx
@@ -145,7 +145,7 @@ OString makeTempName(const OString& prefix)
}
}
- if ( uTmpPath.getLength() )
+ if ( !uTmpPath.isEmpty() )
tmpPath = OUStringToOString(uTmpPath, RTL_TEXTENCODING_UTF8);
#if defined(SAL_W32) || defined(SAL_UNX)
@@ -262,7 +262,7 @@ sal_Int32 compileFile(const OString * pathname)
{
filePath = fileName.copy(0, index);
- if ( filePath.getLength() )
+ if ( !filePath.isEmpty() )
{
cppArgs.append(" -I\"");
cppArgs.append(filePath);