From 9afdc72df60811435587b85ef333ee29d1d3ce15 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 24 Mar 2014 09:29:06 +0000 Subject: callcatcher: update unused code Change-Id: I48990c044e4583e835f3e995527ba423e8c459fb --- idlc/source/astdeclaration.cxx | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'idlc/source') diff --git a/idlc/source/astdeclaration.cxx b/idlc/source/astdeclaration.cxx index 822a26bd6e89..4840eca74f6a 100644 --- a/idlc/source/astdeclaration.cxx +++ b/idlc/source/astdeclaration.cxx @@ -98,39 +98,6 @@ void AstDeclaration::setPredefined(bool bPredefined) } } -void AstDeclaration::setName(const OString& name) -{ - m_scopedName = name; - sal_Int32 nIndex = name.lastIndexOf( ':' ); - m_localName = name.copy( nIndex+1 ); - -// Huh ? There is always at least one token - -// sal_Int32 count = name.getTokenCount(':'); - -// if ( count > 0 ) -// { -// m_localName = name.getToken(count-1, ':'); -// m_scopedName = name; -// } else if ( m_pScope ) -// { -// m_localName = name; -// AstDeclaration* pDecl = scopeAsDecl(m_pScope); -// if (pDecl) -// { -// m_scopedName = pDecl->getScopedName(); -// if (m_scopedName.getLength() > 0) -// m_scopedName += sGlobal; -// m_scopedName += m_localName; -// } -// } else -// { -// m_localName = name; -// m_scopedName = name; -// } - m_fullName = convertName(m_scopedName); -} - bool AstDeclaration::isType() const { switch (m_nodeType) { case NT_interface: -- cgit