diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-03 15:54:21 -0500 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-07-04 09:58:22 +0000 |
commit | 7c136e7ba27382d5f73454bdf5fa78d0b779e0b7 (patch) | |
tree | 2d200cc67d4442e7f87b119905de9b5c522be619 /include/sot/object.hxx | |
parent | e2f002c044243ddd79eea7837167a72c82b98599 (diff) |
module sot: String, bool and other clean-up
Change-Id: Ibe2bfdf20c500e9fd98c3baef66d36aa79ca4b52
Reviewed-on: https://gerrit.libreoffice.org/4710
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'include/sot/object.hxx')
-rw-r--r-- | include/sot/object.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/sot/object.hxx b/include/sot/object.hxx index 435dda8d4626..349efbc23cac 100644 --- a/include/sot/object.hxx +++ b/include/sot/object.hxx @@ -270,14 +270,14 @@ class SOT_DLLPUBLIC SotObject : virtual public SvRefBase friend class SotFactory; friend class SvObject; sal_uInt16 nOwnerLockCount; - sal_Bool bOwner:1, - bSVObject:1, // Ist Proxy, dann TRUE wenn andere Seite SV ist - bInClose:1; // TRUE, im DoClose + bool bOwner; + bool bSVObject; // Ist Proxy, dann TRUE wenn andere Seite SV ist + bool bInClose; // TRUE, im DoClose protected: virtual ~SotObject(); - void SetExtern() { bOwner = sal_False; } - virtual sal_Bool Close(); + void SetExtern() { bOwner = false; } + virtual bool Close(); public: SotObject(); SO2_DECL_BASIC_CLASS_DLL(SotObject,SOTDATA()) @@ -285,13 +285,13 @@ public: // Nur damit die Makros in So3 nicht ganz ausufern virtual IUnknown * GetInterface( const SvGlobalName & ); - sal_Bool Owner() const { return bOwner; } + bool Owner() const { return bOwner; } - sal_uInt16 GetOwnerLockCount() const { return nOwnerLockCount; } + sal_uInt16 GetOwnerLockCount() const { return nOwnerLockCount; } - void OwnerLock( sal_Bool bLock ); - sal_Bool DoClose(); - sal_Bool IsInClose() const { return bInClose; } + void OwnerLock( bool bLock ); + bool DoClose(); + bool IsInClose() const { return bInClose; } private: // Kopieren und Zuweisen dieses Objekttyps ist nicht erlaubt |