summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-10-23 18:35:04 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-10-24 09:46:07 +0900
commitcc64715977062d77ba9e3cb1c95138b0cc7639f8 (patch)
tree5c828a18330e5bc430c424091e28c59681a3aa64 /sw/inc
parentcffdb8d6804105bc840a407a10890af556e586c9 (diff)
sal_Bool to bool
Change-Id: I47f376f431276396a9f3168a5e39e2c9e9e55cbe
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx20
-rw-r--r--sw/inc/editsh.hxx4
-rw-r--r--sw/inc/fesh.hxx4
3 files changed, 14 insertions, 14 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 88f13a827cad..2e7357c47784 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -1175,10 +1175,10 @@ public:
Introduce new optional parameter <bSendDataChangedEvents> in order to
control, if the side effect "send data changed events" is triggered or not. */
void ResetAttrs( const SwPaM &rRg,
- sal_Bool bTxtAttr = sal_True,
+ bool bTxtAttr = true,
const std::set<sal_uInt16> &rAttrs = std::set<sal_uInt16>(),
const bool bSendDataChangedEvents = true );
- void RstTxtAttrs(const SwPaM &rRg, sal_Bool bInclRefToxMark = sal_False );
+ void RstTxtAttrs(const SwPaM &rRg, bool bInclRefToxMark = false );
/** Set attribute in given format.
If Undo is activated, the old one is listed in Undo-History. */
@@ -1226,15 +1226,15 @@ public:
SwFrmFmt *MakeFrmFmt(const String &rFmtName, SwFrmFmt *pDerivedFrom,
sal_Bool bBroadcast = sal_False, sal_Bool bAuto = sal_True);
- void DelFrmFmt( SwFrmFmt *pFmt, sal_Bool bBroadcast = sal_False );
+ void DelFrmFmt( SwFrmFmt *pFmt, bool bBroadcast = false );
SwFrmFmt* FindFrmFmtByName( const String& rName ) const
{ return (SwFrmFmt*)FindFmtByName( (SwFmtsBase&)*pFrmFmtTbl, rName ); }
SwCharFmt *MakeCharFmt(const String &rFmtName, SwCharFmt *pDerivedFrom,
sal_Bool bBroadcast = sal_False,
sal_Bool bAuto = sal_True );
- void DelCharFmt(sal_uInt16 nFmt, sal_Bool bBroadcast = sal_False);
- void DelCharFmt(SwCharFmt* pFmt, sal_Bool bBroadcast = sal_False);
+ void DelCharFmt(sal_uInt16 nFmt, bool bBroadcast = false);
+ void DelCharFmt(SwCharFmt* pFmt, bool bBroadcast = false);
SwCharFmt* FindCharFmtByName( const String& rName ) const
{ return (SwCharFmt*)FindFmtByName( (SwFmtsBase&)*pCharFmtTbl, rName ); }
@@ -1276,8 +1276,8 @@ public:
/// Table formating
const SwFrmFmts* GetTblFrmFmts() const { return pTblFrmFmtTbl; }
SwFrmFmts* GetTblFrmFmts() { return pTblFrmFmtTbl; }
- sal_uInt16 GetTblFrmFmtCount( sal_Bool bUsed ) const;
- SwFrmFmt& GetTblFrmFmt(sal_uInt16 nFmt, sal_Bool bUsed ) const;
+ sal_uInt16 GetTblFrmFmtCount( bool bUsed ) const;
+ SwFrmFmt& GetTblFrmFmt(sal_uInt16 nFmt, bool bUsed ) const;
SwTableFmt* MakeTblFrmFmt(const String &rFmtName, SwFrmFmt *pDerivedFrom);
void DelTblFrmFmt( SwTableFmt* pFmt );
SwTableFmt* FindTblFmtByName( const String& rName, sal_Bool bAll = sal_False ) const;
@@ -1887,10 +1887,10 @@ public:
// -------------------- FeShell - Interfaces -----------------------
// !!! These assume always an existing layout !!!
- sal_Bool ChgAnchor( const SdrMarkList& _rMrkList,
+ bool ChgAnchor( const SdrMarkList& _rMrkList,
RndStdIds _eAnchorType,
- const sal_Bool _bSameOnly,
- const sal_Bool _bPosCorr );
+ const bool _bSameOnly,
+ const bool _bPosCorr );
void SetRowHeight( const SwCursor& rCursor, const SwFmtFrmSize &rNew );
void GetRowHeight( const SwCursor& rCursor, SwFmtFrmSize *& rpSz ) const;
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index ba5fcbd3d133..3b1c1bb5b0bd 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -296,8 +296,8 @@ public:
sal_uInt16 GetCurLang() const;
/// TABLE
- sal_uInt16 GetTblFrmFmtCount( sal_Bool bUsed = sal_False ) const;
- SwFrmFmt& GetTblFrmFmt(sal_uInt16 nFmt, sal_Bool bUsed = sal_False ) const;
+ sal_uInt16 GetTblFrmFmtCount( bool bUsed = false ) const;
+ SwFrmFmt& GetTblFrmFmt(sal_uInt16 nFmt, bool bUsed = false ) const;
String GetUniqueTblName() const;
/// CHAR
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 81ebaae7c193..6c8faeee8475 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -508,8 +508,8 @@ public:
/** frmatr.hxx. Here no enum because of dependencies.
bool value only for internal use! Anchor is newly set according
to current document position. Anchor is not re-set. */
- void ChgAnchor( int eAnchorId, sal_Bool bSameOnly = sal_False,
- sal_Bool bPosCorr = sal_True );
+ void ChgAnchor( int eAnchorId, bool bSameOnly = false,
+ bool bPosCorr = true );
sal_Bool SetDrawingAttr( SfxItemSet &rSet );