diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-10-28 23:38:30 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-10-28 23:47:55 +0900 |
commit | a94b902736ad2cc74224cad4ae64f83880ece632 (patch) | |
tree | 009c63b8913dc554f400c612a0219bf56262c0eb /sw/inc | |
parent | c3a586a716424a0f22858823622328ce92cb9640 (diff) |
sal_Bool to bool
Change-Id: Ia71a4dc13e09a5fc42c282efc2b0d46b2ff007ab
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/doc.hxx | 10 | ||||
-rw-r--r-- | sw/inc/editsh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/ftninfo.hxx | 4 | ||||
-rw-r--r-- | sw/inc/ndtxt.hxx | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index b124a5af012f..6dc4bf24a378 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1198,7 +1198,7 @@ public: const SfxPoolItem& GetDefault( sal_uInt16 nFmtHint ) const; /// Do not expand text attributes. - sal_Bool DontExpandFmt( const SwPosition& rPos, sal_Bool bFlag = sal_True ); + bool DontExpandFmt( const SwPosition& rPos, bool bFlag = true ); /* Formats */ const SwFrmFmts* GetFrmFmts() const { return pFrmFmtTbl; } @@ -1326,7 +1326,7 @@ public: void SetGlossaryDoc( SwDoc* pDoc ) { pGlossaryDoc = pDoc; } /// travel over PaM Ring - sal_Bool InsertGlossary( SwTextBlocks& rBlock, const String& rEntry, + bool InsertGlossary( SwTextBlocks& rBlock, const String& rEntry, SwPaM& rPaM, SwCrsrShell* pShell = 0); /** get the set of printable pages for the XRenderable API by @@ -1925,8 +1925,8 @@ public: void Unchain( SwFrmFmt &rFmt ); // For Copy/Move from FrmShell. - SdrObject* CloneSdrObj( const SdrObject&, sal_Bool bMoveWithinDoc = sal_False, - sal_Bool bInsInPage = sal_True ); + SdrObject* CloneSdrObj( const SdrObject&, bool bMoveWithinDoc = false, + bool bInsInPage = true ); // // -------------------- FeShell - Interface end ------------------ @@ -1995,7 +1995,7 @@ public: void ChgFmt(SwFmt & rFmt, const SfxItemSet & rSet); void RenameFmt(SwFmt & rFmt, const String & sNewName, - sal_Bool bBroadcast = sal_False); + bool bBroadcast = false); /// Change a TOX undoable. void ChgTOX(SwTOXBase & rTOX, const SwTOXBase & rNew); diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 2c76a42a4aaa..1a730254f2fc 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -234,7 +234,7 @@ public: /** If Cursor is at the end of a character style in which the DontExpand-flag is not yet set, the latter will be set (==> return TRUE). */ - sal_Bool DontExpandFmt(); + bool DontExpandFmt(); /** Apply / remove attributes. @return attributs in required AttributeSet. diff --git a/sw/inc/ftninfo.hxx b/sw/inc/ftninfo.hxx index cccd6f76838d..b72338d851b7 100644 --- a/sw/inc/ftninfo.hxx +++ b/sw/inc/ftninfo.hxx @@ -69,7 +69,7 @@ public: SwClient *GetAnchorCharFmtDep() const { return (SwClient*)&aAnchorCharFmtDep; } SwEndNoteInfo & operator=(const SwEndNoteInfo&); - sal_Bool operator==( const SwEndNoteInfo &rInf ) const; + bool operator==( const SwEndNoteInfo &rInf ) const; SwEndNoteInfo( SwTxtFmtColl *pTxtColl = 0); SwEndNoteInfo(const SwEndNoteInfo&); @@ -107,7 +107,7 @@ public: SwFtnInfo& operator=(const SwFtnInfo&); - sal_Bool operator==( const SwFtnInfo &rInf ) const; + bool operator==( const SwFtnInfo &rInf ) const; SwFtnInfo(SwTxtFmtColl* pTxtColl = 0); SwFtnInfo(const SwFtnInfo&); diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 603522cd0583..895ff87d60de 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -348,8 +348,8 @@ public: SwCntntNode *AppendNode( const SwPosition & ); /// When appropriate set DontExpand-flag at INet or character styles respectively. - sal_Bool DontExpandFmt( const SwIndex& rIdx, bool bFlag = true, - sal_Bool bFmtToTxtAttributes = sal_True ); + bool DontExpandFmt( const SwIndex& rIdx, bool bFlag = true, + bool bFmtToTxtAttributes = true ); enum GetTxtAttrMode { DEFAULT, /// DEFAULT: (Start < nIndex <= End) |