summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-09-25 17:11:17 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-04 21:29:34 +0200
commitab7bc4f4c29dbeb206098b5a7e56682834af04b0 (patch)
tree2b15aab1bcde37bfe41dbb1739d3bb3376bb96bd /registry
parent2765cf0ca81b606f169d8ec723d41d509f336628 (diff)
sal_Bool->bool in registry
Change-Id: I6afabf33e1d1ab890c979193c25381e0d38c1f50
Diffstat (limited to 'registry')
-rw-r--r--registry/source/reflread.cxx6
-rw-r--r--registry/source/regimpl.hxx8
2 files changed, 7 insertions, 7 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx
index 3c103c23a344..e51178867671 100644
--- a/registry/source/reflread.cxx
+++ b/registry/source/reflread.cxx
@@ -53,9 +53,9 @@ class BlopObject
public:
const sal_uInt8* m_pBuffer;
sal_uInt32 m_bufferLen;
- sal_Bool m_isCopied;
+ bool m_isCopied;
- BlopObject(const sal_uInt8* buffer, sal_uInt32 len, sal_Bool copyBuffer);
+ BlopObject(const sal_uInt8* buffer, sal_uInt32 len, bool copyBuffer);
// throws std::bad_alloc
~BlopObject();
@@ -124,7 +124,7 @@ public:
}
};
-BlopObject::BlopObject(const sal_uInt8* buffer, sal_uInt32 len, sal_Bool copyBuffer)
+BlopObject::BlopObject(const sal_uInt8* buffer, sal_uInt32 len, bool copyBuffer)
: m_bufferLen(len)
, m_isCopied(copyBuffer)
{
diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx
index dda3b3c9e517..f89d2e5262f8 100644
--- a/registry/source/regimpl.hxx
+++ b/registry/source/regimpl.hxx
@@ -103,10 +103,10 @@ public:
~ORegistry();
- sal_Bool isReadOnly() const
+ bool isReadOnly() const
{ return m_readOnly; }
- sal_Bool isOpen() const
+ bool isOpen() const
{ return m_isOpen; }
ORegKey* getRootKey();
@@ -160,8 +160,8 @@ private:
sal_uInt32 m_refCount;
osl::Mutex m_mutex;
- sal_Bool m_readOnly;
- sal_Bool m_isOpen;
+ bool m_readOnly;
+ bool m_isOpen;
rtl::OUString m_name;
store::OStoreFile m_file;
KeyMap m_openKeyTable;