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/astinterface.cxx | |
parent | 20726ae6644236481cd15e2156935ba842cf88fd (diff) |
idlc: sal_Bool -> bool
Change-Id: Ibeed903d73eb8b3fce7b8c6021c9107437a8c813
Diffstat (limited to 'idlc/source/astinterface.cxx')
-rw-r--r-- | idlc/source/astinterface.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/idlc/source/astinterface.cxx b/idlc/source/astinterface.cxx index 7d9f0dc1d515..20349ae22d65 100644 --- a/idlc/source/astinterface.cxx +++ b/idlc/source/astinterface.cxx @@ -34,8 +34,8 @@ AstInterface::AstInterface(const OString& name, , AstScope(NT_interface) , m_mandatoryInterfaces(0) , m_bIsDefined(false) - , m_bForwarded(sal_False) - , m_bForwardedInSameFile(sal_False) + , m_bForwarded(false) + , m_bForwardedInSameFile(false) , m_bSingleInheritance(pInherits != 0) { if (pInherits != 0) { @@ -99,10 +99,10 @@ void AstInterface::forwardDefined(AstInterface const & def) m_bIsDefined = true; } -sal_Bool AstInterface::dump(RegistryKey& rKey) +bool AstInterface::dump(RegistryKey& rKey) { if ( !isDefined() ) - return sal_True; + return true; RegistryKey localKey; if (rKey.createKey( OStringToOUString(getFullName(), RTL_TEXTENCODING_UTF8 ), localKey)) @@ -110,7 +110,7 @@ sal_Bool AstInterface::dump(RegistryKey& rKey) fprintf(stderr, "%s: warning, could not create key '%s' in '%s'\n", idlc()->getOptions()->getProgramName().getStr(), getFullName().getStr(), OUStringToOString(rKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr()); - return sal_False; + return false; } if (m_mandatoryInterfaces > SAL_MAX_UINT16 @@ -250,7 +250,7 @@ sal_Bool AstInterface::dump(RegistryKey& rKey) fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n", idlc()->getOptions()->getProgramName().getStr(), getFullName().getStr(), OUStringToOString(localKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr()); - return sal_False; + return false; } return true; |