summaryrefslogtreecommitdiff
path: root/rdbmaker/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-09-25 17:09:01 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-04 21:29:34 +0200
commit2765cf0ca81b606f169d8ec723d41d509f336628 (patch)
tree89436fdcdcc0d1793f001af954dee80837de3d11 /rdbmaker/source
parentb6831de354009a09b0606c0efe04b5601dd77f4c (diff)
sal_Bool->bool in rdbmaker
Change-Id: I454e5f4522cd5c5c1f04fde7cb79feab5ae63528
Diffstat (limited to 'rdbmaker/source')
-rw-r--r--rdbmaker/source/codemaker/typemanager.cxx4
-rw-r--r--rdbmaker/source/rdbmaker/rdboptions.cxx2
-rw-r--r--rdbmaker/source/rdbmaker/rdboptions.hxx6
-rw-r--r--rdbmaker/source/rdbmaker/specialtypemanager.cxx2
4 files changed, 7 insertions, 7 deletions
diff --git a/rdbmaker/source/codemaker/typemanager.cxx b/rdbmaker/source/codemaker/typemanager.cxx
index b0d0a14ca8a0..1348a1e94b70 100644
--- a/rdbmaker/source/codemaker/typemanager.cxx
+++ b/rdbmaker/source/codemaker/typemanager.cxx
@@ -168,7 +168,7 @@ TypeReader RegistryTypeManager::getTypeReader(const OString& name)
sal_uInt8* pBuffer = (sal_uInt8*)rtl_allocateMemory(valueSize);
if (!key.getValue(OUString(), pBuffer))
{
- reader = TypeReader(pBuffer, valueSize, sal_True);
+ reader = TypeReader(pBuffer, valueSize, true);
}
rtl_freeMemory(pBuffer);
}
@@ -195,7 +195,7 @@ RTTypeClass RegistryTypeManager::getTypeClass(const OString& name)
sal_uInt8* pBuffer = (sal_uInt8*)rtl_allocateMemory(valueSize);
if (!key.getValue(OUString(), pBuffer))
{
- TypeReader reader(pBuffer, valueSize, sal_False);
+ TypeReader reader(pBuffer, valueSize, false);
RTTypeClass ret = reader.getTypeClass();
diff --git a/rdbmaker/source/rdbmaker/rdboptions.cxx b/rdbmaker/source/rdbmaker/rdboptions.cxx
index 6353f413ea9c..54d92eb1921c 100644
--- a/rdbmaker/source/rdbmaker/rdboptions.cxx
+++ b/rdbmaker/source/rdbmaker/rdboptions.cxx
@@ -277,7 +277,7 @@ sal_Bool RdbOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
}
m_options["-L"] = OString();
- m_generateTypeList = sal_True;
+ m_generateTypeList = true;
break;
default:
throw IllegalArgument("the option is unknown" + OString(av[i]));
diff --git a/rdbmaker/source/rdbmaker/rdboptions.hxx b/rdbmaker/source/rdbmaker/rdboptions.hxx
index 7352cd4acce0..aebf6d1323ef 100644
--- a/rdbmaker/source/rdbmaker/rdboptions.hxx
+++ b/rdbmaker/source/rdbmaker/rdboptions.hxx
@@ -27,7 +27,7 @@ class RdbOptions : public Options
public:
RdbOptions()
: Options()
- , m_generateTypeList(sal_False)
+ , m_generateTypeList(false)
{}
~RdbOptions() {}
@@ -39,11 +39,11 @@ public:
::rtl::OString prepareVersion();
- sal_Bool generateTypeList()
+ bool generateTypeList()
{ return m_generateTypeList; }
protected:
- sal_Bool m_generateTypeList;
+ bool m_generateTypeList;
};
#endif // _RDBMAKER_RDBOPTIONS_HXX_
diff --git a/rdbmaker/source/rdbmaker/specialtypemanager.cxx b/rdbmaker/source/rdbmaker/specialtypemanager.cxx
index b643adb421e4..72f8341107c7 100644
--- a/rdbmaker/source/rdbmaker/specialtypemanager.cxx
+++ b/rdbmaker/source/rdbmaker/specialtypemanager.cxx
@@ -66,7 +66,7 @@ TypeReader SpecialTypeManager::getTypeReader(const OString& name)
if ( (blopSize = getTypeBlop( name.getStr(), &pBlop)) > 0 )
{
- reader = TypeReader(pBlop, blopSize, sal_True);
+ reader = TypeReader(pBlop, blopSize, true);
}
if ( pBlop )