summaryrefslogtreecommitdiff
path: root/javaunohelper/source/javaunohelper.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 /javaunohelper/source/javaunohelper.cxx
parent6cfae09e5dafa477db210272949e253d4fb24349 (diff)
Fix for fdo43460 Part XXI getLength() to isEmpty()
Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess
Diffstat (limited to 'javaunohelper/source/javaunohelper.cxx')
-rw-r--r--javaunohelper/source/javaunohelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/javaunohelper/source/javaunohelper.cxx b/javaunohelper/source/javaunohelper.cxx
index 018c83e67ff0..5178c7650bf9 100644
--- a/javaunohelper/source/javaunohelper.cxx
+++ b/javaunohelper/source/javaunohelper.cxx
@@ -265,7 +265,7 @@ Java_com_sun_star_comp_helper_RegistryServiceFactory_createRegistryServiceFactor
// bootstrap
Reference< lang::XMultiServiceFactory > rMSFac;
- if (aReadRegFile.getLength() == 0)
+ if (aReadRegFile.isEmpty())
rMSFac = ::cppu::createRegistryServiceFactory( aWriteRegFile, bReadOnly);
else
rMSFac = ::cppu::createRegistryServiceFactory(aWriteRegFile, aReadRegFile, bReadOnly);