Kaydet (Commit) 8e995db6 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Stahl

sal_Bool->bool in codemaker

Change-Id: Icea58e7c1dea14f524d6a8d479b7d85e79d6266b
üst ab7bc4f4
...@@ -152,8 +152,8 @@ CppuType::CppuType(typereg::Reader& typeReader, ...@@ -152,8 +152,8 @@ CppuType::CppuType(typereg::Reader& typeReader,
const OString& typeName, const OString& typeName,
const TypeManager& typeMgr) const TypeManager& typeMgr)
: m_inheritedMemberCount(0) : m_inheritedMemberCount(0)
, m_cppuTypeLeak(sal_False) , m_cppuTypeLeak(false)
, m_cppuTypeDynamic(sal_True) , m_cppuTypeDynamic(true)
, m_indentLength(0) , m_indentLength(0)
, m_typeName(typeName) , m_typeName(typeName)
, m_name(typeName.copy(typeName.lastIndexOf('/') + 1)) , m_name(typeName.copy(typeName.lastIndexOf('/') + 1))
...@@ -294,9 +294,9 @@ sal_Bool CppuType::dump(CppuOptions* pOptions) ...@@ -294,9 +294,9 @@ sal_Bool CppuType::dump(CppuOptions* pOptions)
// meaningful (getCppuType is just a forward to cppu::UnoType::get now), // meaningful (getCppuType is just a forward to cppu::UnoType::get now),
// and -CS is handled the same way as -C now: // and -CS is handled the same way as -C now:
if (pOptions->isValid("-L")) if (pOptions->isValid("-L"))
m_cppuTypeLeak = sal_True; m_cppuTypeLeak = true;
if (pOptions->isValid("-C") || pOptions->isValid("-CS")) if (pOptions->isValid("-C") || pOptions->isValid("-CS"))
m_cppuTypeDynamic = sal_False; m_cppuTypeDynamic = false;
} }
OString outPath; OString outPath;
...@@ -1360,8 +1360,8 @@ InterfaceType::InterfaceType(typereg::Reader& typeReader, ...@@ -1360,8 +1360,8 @@ InterfaceType::InterfaceType(typereg::Reader& typeReader,
: CppuType(typeReader, typeName, typeMgr) : CppuType(typeReader, typeName, typeMgr)
{ {
m_inheritedMemberCount = 0; m_inheritedMemberCount = 0;
m_hasAttributes = sal_False; m_hasAttributes = false;
m_hasMethods = sal_False; m_hasMethods = false;
} }
InterfaceType::~InterfaceType() InterfaceType::~InterfaceType()
...@@ -2320,7 +2320,7 @@ sal_Bool ConstantsType::dump(CppuOptions* pOptions) ...@@ -2320,7 +2320,7 @@ sal_Bool ConstantsType::dump(CppuOptions* pOptions)
addSpecialDependencies(); addSpecialDependencies();
if (pOptions->isValid("-U")) if (pOptions->isValid("-U"))
m_cppuTypeDynamic = sal_True; m_cppuTypeDynamic = true;
OString outPath; OString outPath;
if (pOptions->isValid("-O")) if (pOptions->isValid("-O"))
......
...@@ -138,8 +138,8 @@ protected: ...@@ -138,8 +138,8 @@ protected:
protected: protected:
sal_uInt32 m_inheritedMemberCount; sal_uInt32 m_inheritedMemberCount;
sal_Bool m_cppuTypeLeak; bool m_cppuTypeLeak;
sal_Bool m_cppuTypeDynamic; bool m_cppuTypeDynamic;
sal_Int32 m_indentLength; sal_Int32 m_indentLength;
::rtl::OString m_typeName; ::rtl::OString m_typeName;
::rtl::OString m_name; ::rtl::OString m_name;
...@@ -189,8 +189,8 @@ protected: ...@@ -189,8 +189,8 @@ protected:
protected: protected:
sal_uInt32 m_inheritedMemberCount; sal_uInt32 m_inheritedMemberCount;
sal_Bool m_hasAttributes; bool m_hasAttributes;
sal_Bool m_hasMethods; bool m_hasMethods;
private: private:
void dumpExceptionSpecification( void dumpExceptionSpecification(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment