summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-11-03 12:18:57 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-11-03 12:20:23 +0900
commit2a9fd5d68304beebcffd2f6a66e65c95eb433c40 (patch)
tree56eec3b99f62e1ceb84b98e76cb9a2b2a033af5d /sw/inc
parentf70cf02d9073a2a7557eb01bac401213d5c11314 (diff)
sal_Bool to bool
Change-Id: I35412e2d2e36e3eabdff2a6692bf6edc68a2d724
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx20
-rw-r--r--sw/inc/editsh.hxx8
-rw-r--r--sw/inc/list.hxx2
3 files changed, 15 insertions, 15 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 86f90b5c4a07..372f8b6a102f 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -1515,7 +1515,7 @@ public:
/// add optional parameter <eDefaultNumberFormatPositionAndSpaceMode>
sal_uInt16 MakeNumRule( const String &rName,
const SwNumRule* pCpy = 0,
- sal_Bool bBroadcast = sal_False,
+ bool bBroadcast = false,
const SvxNumberFormat::SvxNumPositionAndSpaceMode eDefaultNumberFormatPositionAndSpaceMode =
SvxNumberFormat::LABEL_WIDTH_AND_POSITION );
sal_uInt16 FindNumRule( const String& rName ) const;
@@ -1525,7 +1525,7 @@ public:
bool RenameNumRule(const String & aOldName, const String & aNewName,
bool bBroadcast = false);
bool DelNumRule( const String& rName, bool bBroadCast = false );
- String GetUniqueNumRuleName( const String* pChkStr = 0, sal_Bool bAutoNum = sal_True ) const;
+ String GetUniqueNumRuleName( const String* pChkStr = 0, bool bAutoNum = true ) const;
void UpdateNumRule(); /// Update all invalids.
void ChgNumRuleFmts( const SwNumRule& rRule, const String * pOldName = 0 );
@@ -1584,7 +1584,7 @@ public:
according to offsets. (if negative: go to doc start). */
bool MoveParagraph( const SwPaM&, long nOffset = 1, bool bIsOutlMv = false );
- sal_Bool NumOrNoNum( const SwNodeIndex& rIdx, sal_Bool bDel = sal_False);
+ bool NumOrNoNum( const SwNodeIndex& rIdx, sal_Bool bDel = sal_False);
void StopNumRuleAnimations( OutputDevice* );
@@ -1971,12 +1971,12 @@ public:
@param sListId list Id of the list whose level has to be marked/unmarked
@param nListLevel level to mark
- @param bValue - sal_True mark the level
- - sal_False unmark the level
+ @param bValue - true mark the level
+ - false unmark the level
*/
void MarkListLevel( const String& sListId,
const int nListLevel,
- const sal_Bool bValue );
+ const bool bValue );
/** Marks/Unmarks a list level of a certain list
@@ -1984,12 +1984,12 @@ public:
@param rList list whose level has to be marked/unmarked
@param nListLevel level to mark
- @param bValue - sal_True mark the level
- - sal_False unmark the level
+ @param bValue - true mark the level
+ - false unmark the level
*/
void MarkListLevel( SwList& rList,
const int nListLevel,
- const sal_Bool bValue );
+ const bool bValue );
/// Change a format undoable.
void ChgFmt(SwFmt & rFmt, const SfxItemSet & rSet);
@@ -2019,7 +2019,7 @@ public:
*/
String GetPaMDescr(const SwPaM & rPaM) const;
- sal_Bool IsFirstOfNumRule(SwPosition & rPos);
+ bool IsFirstOfNumRule(SwPosition & rPos);
// access methods for XForms model(s)
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index add80c34bd10..65c19b84dad1 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -502,7 +502,7 @@ public:
bool MoveNumParas( bool bUpperLower, bool bUpperLeft );
/// Switch on/off of numbering via Delete/Backspace.
- sal_Bool NumOrNoNum( sal_Bool bDelete = sal_False, sal_Bool bChkStart = sal_True);
+ bool NumOrNoNum( sal_Bool bDelete = sal_False, bool bChkStart = true);
// #i23726#
// #i90078#
@@ -511,8 +511,8 @@ public:
void ChangeIndentOfAllListLevels( short nDiff );
// Adjust method name
void SetIndent(short nIndent, const SwPosition & rPos);
- sal_Bool IsFirstOfNumRule() const;
- sal_Bool IsFirstOfNumRule(const SwPaM & rPaM) const;
+ bool IsFirstOfNumRule() const;
+ bool IsFirstOfNumRule(const SwPaM & rPaM) const;
sal_Bool IsNoNum( sal_Bool bChkStart = sal_True ) const;
@@ -532,7 +532,7 @@ public:
sal_Bool HasNumber() const;
sal_Bool HasBullet() const;
- String GetUniqueNumRuleName( const String* pChkStr = 0, sal_Bool bAutoNum = sal_True ) const;
+ String GetUniqueNumRuleName( const String* pChkStr = 0, bool bAutoNum = true ) const;
void ChgNumRuleFmts( const SwNumRule& rRule );
/// Set (and query if) a numbering with StartFlag starts at current PointPos.
diff --git a/sw/inc/list.hxx b/sw/inc/list.hxx
index e30a5ad0ad4e..f21a32f38ed8 100644
--- a/sw/inc/list.hxx
+++ b/sw/inc/list.hxx
@@ -48,7 +48,7 @@ class SwList
void ValidateListTree();
void MarkListLevel( const int nListLevel,
- const sal_Bool bValue );
+ const bool bValue );
bool IsListLevelMarked( const int nListLevel ) const;