diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-15 15:24:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-17 17:55:17 +0100 |
commit | 361774e9107aac3f412ce546892a4b0e55c10dfb (patch) | |
tree | 4558fb6362cd1767c0a5ca00a80584171f7106b8 /idlc/source/astdeclaration.cxx | |
parent | 20726ae6644236481cd15e2156935ba842cf88fd (diff) |
idlc: sal_Bool -> bool
Change-Id: Ibeed903d73eb8b3fce7b8c6021c9107437a8c813
Diffstat (limited to 'idlc/source/astdeclaration.cxx')
-rw-r--r-- | idlc/source/astdeclaration.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/idlc/source/astdeclaration.cxx b/idlc/source/astdeclaration.cxx index e8df3a6d5550..60f862639d8c 100644 --- a/idlc/source/astdeclaration.cxx +++ b/idlc/source/astdeclaration.cxx @@ -45,9 +45,9 @@ AstDeclaration::AstDeclaration(NodeType type, const OString& name, AstScope* pSc : m_localName(name) , m_pScope(pScope) , m_nodeType(type) - , m_bImported(sal_False) - , m_bIsAdded(sal_False) - , m_bInMainFile(sal_False) + , m_bImported(false) + , m_bIsAdded(false) + , m_bInMainFile(false) , m_bPredefined(false) { if ( m_pScope ) @@ -69,11 +69,11 @@ AstDeclaration::AstDeclaration(NodeType type, const OString& name, AstScope* pSc if ( idlc()->getFileName() == idlc()->getRealFileName() ) { m_fileName = idlc()->getMainFileName(); - m_bInMainFile = sal_True; + m_bInMainFile = true; } else { m_fileName = idlc()->getFileName(); - m_bImported = sal_True; + m_bImported = true; } m_documentation = idlc()->processDocumentation(); @@ -93,7 +93,7 @@ void AstDeclaration::setPredefined(bool bPredefined) if ( m_bPredefined ) { m_fileName = OString(); - m_bInMainFile = sal_False; + m_bInMainFile = false; } } @@ -147,19 +147,19 @@ bool AstDeclaration::isType() const { } } -sal_Bool AstDeclaration::hasAncestor(AstDeclaration* pDecl) +bool AstDeclaration::hasAncestor(AstDeclaration* pDecl) { if (this == pDecl) - return sal_True; + return true; if ( !m_pScope ) - return sal_False; + return false; return scopeAsDecl(m_pScope)->hasAncestor(pDecl); } -sal_Bool AstDeclaration::dump(RegistryKey& rKey) +bool AstDeclaration::dump(RegistryKey& rKey) { AstScope* pScope = declAsScope(this); - sal_Bool bRet = sal_True; + bool bRet = true; if ( pScope ) { |