diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-21 07:34:08 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-21 07:38:58 +0900 |
commit | 1aad15bf3968e243ff2ee2572e5bc3fc5cd8f108 (patch) | |
tree | a82c68c5f03d2aff67506d52f1d285fc931d2a70 /sw/inc/calbck.hxx | |
parent | 4b9c10e298a5285edbeb87c47303c151209abded (diff) |
sal_Bool to bool
Change-Id: I0845702a9d0d590b0410df8bdcc3a12661f87714
Diffstat (limited to 'sw/inc/calbck.hxx')
-rw-r--r-- | sw/inc/calbck.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 75e3ead5b9f3..4eb30e1c8f2e 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -133,7 +133,7 @@ inline SwClient::SwClient() : class SW_DLLPUBLIC SwModify: public SwClient { SwClient* pRoot; // the start of the linked list of clients - sal_Bool bModifyLocked : 1; // don't broadcast changes now + bool bModifyLocked : 1; // don't broadcast changes now sal_Bool bLockClientList : 1; // may be set when this instance notifies its clients sal_Bool bInDocDTOR : 1; // workaround for problems when a lot of objects are destroyed sal_Bool bInCache : 1; @@ -167,12 +167,12 @@ public: // get information about attribute virtual bool GetInfo( SfxPoolItem& ) const; - void LockModify() { bModifyLocked = sal_True; } - void UnlockModify() { bModifyLocked = sal_False; } + void LockModify() { bModifyLocked = true; } + void UnlockModify() { bModifyLocked = false; } void SetInCache( sal_Bool bNew ) { bInCache = bNew; } void SetInSwFntCache( sal_Bool bNew ) { bInSwFntCache = bNew; } void SetInDocDTOR() { bInDocDTOR = sal_True; } - sal_Bool IsModifyLocked() const { return bModifyLocked; } + bool IsModifyLocked() const { return bModifyLocked; } sal_Bool IsInDocDTOR() const { return bInDocDTOR; } sal_Bool IsInCache() const { return bInCache; } sal_Bool IsInSwFntCache() const { return bInSwFntCache; } |