From a17fb882569046cd9f6940cf2e87435200bb666b Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Mon, 26 Dec 2011 17:19:24 -0200 Subject: Fix for fdo43460 Part XXI getLength() to isEmpty() Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess --- javaunohelper/source/javaunohelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javaunohelper') 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); -- cgit v1.2.3