summaryrefslogtreecommitdiff
path: root/include/tools/ref.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-17 23:09:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-18 08:18:29 +0100
commit95401d5898412bc74892f0c5325fb614044d4bf1 (patch)
tree0c4b4d41e372282fb5063ecc295590b73cd3a22b /include/tools/ref.hxx
parentcda903f83831341f44833b94e7d38e598f5a7198 (diff)
tools: sal_Bool -> bool
Change-Id: I3aad235d92b3972b44199294c0f3de65ad57f450
Diffstat (limited to 'include/tools/ref.hxx')
-rw-r--r--include/tools/ref.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx
index 254b1eb684f0..bdc055b9ee0a 100644
--- a/include/tools/ref.hxx
+++ b/include/tools/ref.hxx
@@ -61,7 +61,7 @@ public: \
inline ~ClassName##Ref(); \
inline ClassName##Ref & operator = ( const ClassName##Ref & rObj ); \
inline ClassName##Ref & operator = ( ClassName * pObj ); \
- inline sal_Bool Is() const { return pObj != NULL; } \
+ inline bool Is() const { return pObj != NULL; } \
inline ClassName * operator & () const { return pObj; } \
inline ClassName * operator -> () const { return pObj; } \
inline ClassName & operator * () const { return *pObj; } \
@@ -234,7 +234,7 @@ public: \
inline void Clear() { _xHdl.Clear(); } \
inline ClassName##Weak& operator = ( ClassName * pObj ) { \
_xHdl = pObj ? pObj->GetHdl() : 0; return *this; } \
- inline sal_Bool Is() const { \
+ inline bool Is() const { \
return _xHdl.Is() && _xHdl->GetObj(); } \
inline ClassName * operator & () const { \
return (ClassName*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } \