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 --- idlc/source/astdeclaration.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'idlc/source/astdeclaration.cxx') diff --git a/idlc/source/astdeclaration.cxx b/idlc/source/astdeclaration.cxx index 5e4dcdd6382d..87eda045a9e2 100644 --- a/idlc/source/astdeclaration.cxx +++ b/idlc/source/astdeclaration.cxx @@ -41,7 +41,7 @@ static OString convertName(const OString& name) do { OString token( name.getToken( 0, ':', nIndex ) ); - if( token.getLength() ) + if( !token.isEmpty() ) { nameBuffer.append('/'); nameBuffer.append( token ); @@ -65,7 +65,7 @@ AstDeclaration::AstDeclaration(NodeType type, const OString& name, AstScope* pSc if (pDecl) { m_scopedName = pDecl->getScopedName(); - if (m_scopedName.getLength() > 0) + if (!m_scopedName.isEmpty()) m_scopedName += sGlobal; m_scopedName += m_localName; } -- cgit