diff options
author | Noel Grandin <noel@peralex.com> | 2012-09-25 17:18:19 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-04 21:29:34 +0200 |
commit | 8e995db6a2dd2becb2e88903a28877db2591ae06 (patch) | |
tree | 4631bdfd715b291f00f93d6710f3233ad9be394a | |
parent | ab7bc4f4c29dbeb206098b5a7e56682834af04b0 (diff) |
sal_Bool->bool in codemaker
Change-Id: Icea58e7c1dea14f524d6a8d479b7d85e79d6266b
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 14 | ||||
-rw-r--r-- | codemaker/source/cppumaker/cpputype.hxx | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index f4f130403249..eca01435a4e2 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -152,8 +152,8 @@ CppuType::CppuType(typereg::Reader& typeReader, const OString& typeName, const TypeManager& typeMgr) : m_inheritedMemberCount(0) - , m_cppuTypeLeak(sal_False) - , m_cppuTypeDynamic(sal_True) + , m_cppuTypeLeak(false) + , m_cppuTypeDynamic(true) , m_indentLength(0) , m_typeName(typeName) , m_name(typeName.copy(typeName.lastIndexOf('/') + 1)) @@ -294,9 +294,9 @@ sal_Bool CppuType::dump(CppuOptions* pOptions) // meaningful (getCppuType is just a forward to cppu::UnoType::get now), // and -CS is handled the same way as -C now: if (pOptions->isValid("-L")) - m_cppuTypeLeak = sal_True; + m_cppuTypeLeak = true; if (pOptions->isValid("-C") || pOptions->isValid("-CS")) - m_cppuTypeDynamic = sal_False; + m_cppuTypeDynamic = false; } OString outPath; @@ -1360,8 +1360,8 @@ InterfaceType::InterfaceType(typereg::Reader& typeReader, : CppuType(typeReader, typeName, typeMgr) { m_inheritedMemberCount = 0; - m_hasAttributes = sal_False; - m_hasMethods = sal_False; + m_hasAttributes = false; + m_hasMethods = false; } InterfaceType::~InterfaceType() @@ -2320,7 +2320,7 @@ sal_Bool ConstantsType::dump(CppuOptions* pOptions) addSpecialDependencies(); if (pOptions->isValid("-U")) - m_cppuTypeDynamic = sal_True; + m_cppuTypeDynamic = true; OString outPath; if (pOptions->isValid("-O")) diff --git a/codemaker/source/cppumaker/cpputype.hxx b/codemaker/source/cppumaker/cpputype.hxx index 83a3807f9746..a2781cba2557 100644 --- a/codemaker/source/cppumaker/cpputype.hxx +++ b/codemaker/source/cppumaker/cpputype.hxx @@ -138,8 +138,8 @@ protected: protected: sal_uInt32 m_inheritedMemberCount; - sal_Bool m_cppuTypeLeak; - sal_Bool m_cppuTypeDynamic; + bool m_cppuTypeLeak; + bool m_cppuTypeDynamic; sal_Int32 m_indentLength; ::rtl::OString m_typeName; ::rtl::OString m_name; @@ -189,8 +189,8 @@ protected: protected: sal_uInt32 m_inheritedMemberCount; - sal_Bool m_hasAttributes; - sal_Bool m_hasMethods; + bool m_hasAttributes; + bool m_hasMethods; private: void dumpExceptionSpecification( |