summaryrefslogtreecommitdiff
path: root/include/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-09 10:18:04 +0200
committerNoel Grandin <noel@peralex.com>2015-04-09 10:19:27 +0200
commit9d725554bf4c7784baa2df91b9865ccc32b10ff8 (patch)
treee301b6399f183de812432e9d11ce9626d8dc7db2 /include/registry
parent3c00e75c1437fc666baa72bd550f7d4a4e6918eb (diff)
loplugin:salbool
Change-Id: Id4194f4d5bb6fcf064985fddc6f7344a4d34ca04
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/reflread.hxx2
-rw-r--r--include/registry/typereg_reader.hxx8
-rw-r--r--include/registry/types.hxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/include/registry/reflread.hxx b/include/registry/reflread.hxx
index fddb072a7b69..cf541396b752 100644
--- a/include/registry/reflread.hxx
+++ b/include/registry/reflread.hxx
@@ -44,7 +44,7 @@ extern "C" {
*/
struct RegistryTypeReader_Api
{
- TypeReaderImpl (TYPEREG_CALLTYPE *createEntry) (const sal_uInt8*, sal_uInt32, sal_Bool);
+ TypeReaderImpl (TYPEREG_CALLTYPE *createEntry) (const sal_uInt8*, sal_uInt32, bool);
void (TYPEREG_CALLTYPE *acquire) (TypeReaderImpl);
void (TYPEREG_CALLTYPE *release) (TypeReaderImpl);
sal_uInt16 (TYPEREG_CALLTYPE *getMinorVersion) (TypeReaderImpl);
diff --git a/include/registry/typereg_reader.hxx b/include/registry/typereg_reader.hxx
index e6e1a4ac0b6e..64c2261f4e0e 100644
--- a/include/registry/typereg_reader.hxx
+++ b/include/registry/typereg_reader.hxx
@@ -56,8 +56,8 @@
@since UDK 3.2.0
*/
-REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_create(
- void const * buffer, sal_uInt32 length, sal_Bool copy,
+REG_DLLPUBLIC bool SAL_CALL typereg_reader_create(
+ void const * buffer, sal_uInt32 length, bool copy,
typereg_Version maxVersion, void ** result);
/**
@@ -148,7 +148,7 @@ REG_DLLPUBLIC RTTypeClass SAL_CALL typereg_reader_getTypeClass(void * handle);
@since UDK 3.2.0
*/
-REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_isPublished(void * handle);
+REG_DLLPUBLIC bool SAL_CALL typereg_reader_isPublished(void * handle);
/**
Returns the type name of a type reader.
@@ -301,7 +301,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldTypeName(
@since UDK 3.2.0
*/
-REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_getFieldValue(
+REG_DLLPUBLIC bool SAL_CALL typereg_reader_getFieldValue(
void * handle, sal_uInt16 index, RTValueType * type,
union RTConstValueUnion * value);
diff --git a/include/registry/types.hxx b/include/registry/types.hxx
index dc28e9d5d47b..0b15a8dfff1f 100644
--- a/include/registry/types.hxx
+++ b/include/registry/types.hxx
@@ -210,7 +210,7 @@ enum RTValueType {
/** specifies a variable container for field values.
*/
union RTConstValueUnion {
- sal_Bool aBool;
+ bool aBool;
sal_Int8 aByte;
sal_Int16 aShort;
sal_uInt16 aUShort;