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 /idlc/source/astdump.cxx | |
parent | 6cfae09e5dafa477db210272949e253d4fb24349 (diff) |
Fix for fdo43460 Part XXI getLength() to isEmpty()
Part XXI
Modules
i18npool, idl, idlc, io, javaunohelper, jvmaccess
Diffstat (limited to 'idlc/source/astdump.cxx')
-rw-r--r-- | idlc/source/astdump.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx index 5f1c738278f5..a1c2154f2e40 100644 --- a/idlc/source/astdump.cxx +++ b/idlc/source/astdump.cxx @@ -189,7 +189,7 @@ sal_Bool AstService::dump(RegistryKey& rKey) case NT_interface: case NT_typedef: version = TYPEREG_VERSION_1; - OSL_ASSERT(superName.getLength() == 0); + OSL_ASSERT(superName.isEmpty()); superName = (*i)->getRelativName(); break; @@ -205,7 +205,7 @@ sal_Bool AstService::dump(RegistryKey& rKey) case NT_service_member: if (getNodeType() == NT_singleton) { - OSL_ASSERT(superName.getLength() == 0); + OSL_ASSERT(superName.isEmpty()); superName = ((AstServiceMember *)(*i))-> getRealService()->getRelativName(); break; @@ -243,9 +243,9 @@ sal_Bool AstService::dump(RegistryKey& rKey) getNodeType() == NT_singleton ? RT_TYPE_SINGLETON : RT_TYPE_SERVICE, m_bPublished, rtl::OStringToOUString(getRelativName(), RTL_TEXTENCODING_UTF8), - superName.getLength() == 0 ? 0 : 1, properties, constructors, + superName.isEmpty() ? 0 : 1, properties, constructors, references); - if (superName.getLength() != 0) { + if (!superName.isEmpty()) { writer.setSuperTypeName( 0, rtl::OStringToOUString(superName, RTL_TEXTENCODING_UTF8)); } |