diff options
Diffstat (limited to 'idlc/source/fehelper.cxx')
-rw-r--r-- | idlc/source/fehelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/idlc/source/fehelper.cxx b/idlc/source/fehelper.cxx index 8cf1a7434028..2a5fb1d3468c 100644 --- a/idlc/source/fehelper.cxx +++ b/idlc/source/fehelper.cxx @@ -55,7 +55,7 @@ AstType const * FeDeclarator::compose(AstDeclaration const * pDecl) } if ( !pDecl->isType() ) { - idlc()->error()->noTypeError(pDecl); + ErrorHandler::noTypeError(pDecl); return NULL; } pType = static_cast<const AstType*>(pDecl); @@ -92,20 +92,20 @@ void FeInheritanceHeader::initializeInherits(OString* pInherits) || static_cast< AstInterface const * >( resolved)->isDefined()) ) { - if ( idlc()->error()->checkPublished( pDecl ) ) + if ( ErrorHandler::checkPublished( pDecl ) ) { m_pInherits = pDecl; } } else { - idlc()->error()->inheritanceError( + ErrorHandler::inheritanceError( getNodeType(), getName(), pDecl); } } else { - idlc()->error()->lookupError(*pInherits); + ErrorHandler::lookupError(*pInherits); } } } |