summaryrefslogtreecommitdiffstats
path: root/sw/inc/expfld.hxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-11-17 19:04:02 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-11-17 19:06:39 +0900
commit30bd9fbd9317aeee15edbf98e50be59236c60a67 (patch)
tree481c4800b9fa3bbd341f28367662871f9df72321 /sw/inc/expfld.hxx
parentuse LanguageTag (diff)
downloadcore-30bd9fbd9317aeee15edbf98e50be59236c60a67.tar.gz
core-30bd9fbd9317aeee15edbf98e50be59236c60a67.zip
sal_Bool to bool
Change-Id: I4700455a1f2057ac2cc32da0260c810311c84a4f
Diffstat (limited to 'sw/inc/expfld.hxx')
-rw-r--r--sw/inc/expfld.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx
index 8ddeb7eb94fb..9549fb662975 100644
--- a/sw/inc/expfld.hxx
+++ b/sw/inc/expfld.hxx
@@ -48,7 +48,7 @@ class SwEditShell;
const SwTxtNode* GetBodyTxtNode( const SwDoc& pDoc, SwPosition& rPos,
const SwFrm& rFrm );
-void ReplacePoint(String& sTmpName, sal_Bool bWithCommandType = sal_False);
+void ReplacePoint(String& sTmpName, bool bWithCommandType = false);
struct _SeqFldLstElem
{
@@ -94,7 +94,7 @@ protected:
class SW_DLLPUBLIC SwGetExpField : public SwFormulaField
{
String sExpand;
- sal_Bool bIsInBodyTxt;
+ bool bIsInBodyTxt;
sal_uInt16 nSubType;
bool bLateInitialization; // #i82544#
@@ -113,10 +113,10 @@ public:
inline void ChgExpStr(const String& rExpand);
/// Called by formating.
- inline sal_Bool IsInBodyTxt() const;
+ inline bool IsInBodyTxt() const;
/// Set by UpdateExpFlds where node position is known.
- inline void ChgBodyTxtFlag( sal_Bool bIsInBody );
+ inline void ChgBodyTxtFlag( bool bIsInBody );
/** For fields in header/footer/footnotes/flys:
Only called by formating!! */
@@ -145,11 +145,11 @@ inline const String& SwGetExpField::GetExpStr() const
{ return sExpand; }
/// Called by formating.
-inline sal_Bool SwGetExpField::IsInBodyTxt() const
+inline bool SwGetExpField::IsInBodyTxt() const
{ return bIsInBodyTxt; }
/// Set by UpdateExpFlds where node position is known.
-inline void SwGetExpField::ChgBodyTxtFlag( sal_Bool bIsInBody )
+inline void SwGetExpField::ChgBodyTxtFlag( bool bIsInBody )
{ bIsInBodyTxt = bIsInBody; }
class SwSetExpField;