diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-26 17:19:24 -0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-12-30 11:52:45 +0100 |
commit | a17fb882569046cd9f6940cf2e87435200bb666b (patch) | |
tree | 36c9a0bff1d5dd5490c03f36553f5ae7b0f4bdf1 /javaunohelper | |
parent | 6cfae09e5dafa477db210272949e253d4fb24349 (diff) |
Fix for fdo43460 Part XXI getLength() to isEmpty()
Part XXI
Modules
i18npool, idl, idlc, io, javaunohelper, jvmaccess
Diffstat (limited to 'javaunohelper')
-rw-r--r-- | javaunohelper/source/javaunohelper.cxx | 2 |
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); |