summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-10-20 23:12:12 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-10-20 23:12:12 +0900
commitbb80f99092c4ad6d5015165a60f7a239dcb2fbff (patch)
treeb1731a6cb5975c8c2f84363e942eb9c794fd3264 /sw/inc
parent1cdad42cf9cfd868f717ab6b972be201f1f06b70 (diff)
sal_Bool to bool
Change-Id: Ideb46a876ef74f505b71e2a788d5f8da50e251af
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx14
-rw-r--r--sw/inc/node.hxx12
2 files changed, 13 insertions, 13 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index ff43c1291af9..740659ad3fdd 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -1365,13 +1365,13 @@ public:
SwPageDesc * GetPageDesc( const String & rName );
void ChgPageDesc( const String & rName, const SwPageDesc& );
void ChgPageDesc( sal_uInt16 i, const SwPageDesc& );
- sal_Bool FindPageDesc( const String & rName, sal_uInt16 * pFound );
- void DelPageDesc( const String & rName, sal_Bool bBroadcast = sal_False);
- void DelPageDesc( sal_uInt16 i, sal_Bool bBroadcast = sal_False );
+ bool FindPageDesc( const String & rName, sal_uInt16 * pFound );
+ void DelPageDesc( const String & rName, bool bBroadcast = false);
+ void DelPageDesc( sal_uInt16 i, bool bBroadcast = false );
void PreDelPageDesc(SwPageDesc * pDel);
sal_uInt16 MakePageDesc( const String &rName, const SwPageDesc* pCpy = 0,
- sal_Bool bRegardLanguage = sal_True,
- sal_Bool bBroadcast = sal_False);
+ bool bRegardLanguage = true,
+ bool bBroadcast = false);
void BroadcastStyleOperation(String rName, SfxStyleFamily eFamily,
sal_uInt16 nOp);
@@ -1783,7 +1783,7 @@ public:
bool IsInLoadAsynchron() const { return mbInLoadAsynchron; }
void SetInLoadAsynchron( bool bFlag ) { mbInLoadAsynchron = bFlag; }
- sal_Bool SelectServerObj( const String& rStr, SwPaM*& rpPam,
+ bool SelectServerObj( const String& rStr, SwPaM*& rpPam,
SwNodeRange*& rpRange ) const;
/// For Drag&Move: (e.g. allow "moving" of RefMarks)
@@ -1792,7 +1792,7 @@ public:
SwDrawContact* GroupSelection( SdrView& );
void UnGroupSelection( SdrView& );
- sal_Bool DeleteSelection( SwDrawView& );
+ bool DeleteSelection( SwDrawView& );
/// Invalidates OnlineSpell-WrongLists.
void SpellItAgainSam( bool bInvalid, bool bOnlyWrong, bool bSmartTags );
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 9ac30455dcc2..003d7b615dca 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -100,8 +100,8 @@ class SW_DLLPUBLIC SwNode
/// For text nodes: level of auto format. Was put here because we had still free bits.
sal_uInt8 nAFmtNumLvl : 3;
- sal_Bool bSetNumLSpace : 1; ///< For numbering: TRUE: set indent.
- sal_Bool bIgnoreDontExpand : 1; ///< for Text Attributes - ignore the flag
+ bool bSetNumLSpace : 1; ///< For numbering: TRUE: set indent.
+ bool bIgnoreDontExpand : 1; ///< for Text Attributes - ignore the flag
protected:
SwStartNode* pStartOfSection;
@@ -133,11 +133,11 @@ public:
inline sal_uInt8 GetAutoFmtLvl() const { return nAFmtNumLvl; }
inline void SetAutoFmtLvl( sal_uInt8 nVal ) { nAFmtNumLvl = nVal; }
- inline sal_Bool IsSetNumLSpace() const { return bSetNumLSpace; }
- inline void SetNumLSpace( sal_Bool bFlag ) { bSetNumLSpace = bFlag; }
+ inline bool IsSetNumLSpace() const { return bSetNumLSpace; }
+ inline void SetNumLSpace( bool bFlag ) { bSetNumLSpace = bFlag; }
- inline sal_Bool IsIgnoreDontExpand() const { return bIgnoreDontExpand; }
- inline void SetIgnoreDontExpand( sal_Bool bNew ) { bIgnoreDontExpand = bNew; }
+ inline bool IsIgnoreDontExpand() const { return bIgnoreDontExpand; }
+ inline void SetIgnoreDontExpand( bool bNew ) { bIgnoreDontExpand = bNew; }
sal_uInt8 GetNodeType() const { return nNodeType; }