summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-22 11:31:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-22 11:39:21 +0100
commit7cb3e55bf03c49608e2b54b5d90eddd423a0f891 (patch)
treeebf890a12be682f3f39dc4c7973b3288fad161f9 /sw/inc
parent747ba6295d22c2e65be984cd750f240dc106482b (diff)
bool improvements
Change-Id: Ib65a1e987ad6511e90fd66a36c0105593a1df27c
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/authfld.hxx4
-rw-r--r--sw/inc/crsrsh.hxx4
-rw-r--r--sw/inc/htmltbl.hxx2
-rw-r--r--sw/inc/pvprtdat.hxx2
-rw-r--r--sw/inc/swmodule.hxx6
5 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index 202a8534f099..55ed5b77edee 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -46,10 +46,10 @@ public:
struct SwTOXSortKey
{
ToxAuthorityField eField;
- sal_Bool bSortAscending;
+ bool bSortAscending;
SwTOXSortKey() :
eField(AUTH_FIELD_END),
- bSortAscending(sal_True){}
+ bSortAscending(true){}
};
class SwAuthorityField;
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 4bcbf35262ca..978d6b6c642d 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -587,7 +587,7 @@ public:
inline const SwTableNode* IsCrsrInTbl( sal_Bool bIsPtInTbl = sal_True ) const;
inline Point& GetCrsrDocPos( sal_Bool bPoint = sal_True ) const;
- inline sal_Bool IsCrsrPtAtEnd() const;
+ inline bool IsCrsrPtAtEnd() const;
inline const SwPaM* GetTblCrs() const;
inline SwPaM* GetTblCrs();
@@ -897,7 +897,7 @@ inline const SwTableNode* SwCrsrShell::IsCrsrInTbl( sal_Bool bIsPtInTbl ) const
return m_pCurCrsr->GetNode( bIsPtInTbl )->FindTableNode();
}
-inline sal_Bool SwCrsrShell::IsCrsrPtAtEnd() const
+inline bool SwCrsrShell::IsCrsrPtAtEnd() const
{
return m_pCurCrsr->End() == m_pCurCrsr->GetPoint();
}
diff --git a/sw/inc/htmltbl.hxx b/sw/inc/htmltbl.hxx
index ce63e6b86c2b..b7bb4fb6eb31 100644
--- a/sw/inc/htmltbl.hxx
+++ b/sw/inc/htmltbl.hxx
@@ -303,7 +303,7 @@ public:
bool HasColsOption() const { return bColsOption; }
bool HasColTags() const { return bColTags; }
- sal_Bool IsTopTable() const { return pSwTable != 0; }
+ bool IsTopTable() const { return pSwTable != 0; }
void SetMustResize( sal_Bool bSet ) { bMustResize = bSet; }
void SetMustNotResize( sal_Bool bSet ) { bMustNotResize = bSet; }
diff --git a/sw/inc/pvprtdat.hxx b/sw/inc/pvprtdat.hxx
index 96ee15e7002b..8e4bd15d8c07 100644
--- a/sw/inc/pvprtdat.hxx
+++ b/sw/inc/pvprtdat.hxx
@@ -60,7 +60,7 @@ public:
sal_uInt8 GetCol() const { return nCol; }
void SetCol( sal_uInt8 n ) { nCol = n; }
- sal_Bool GetLandscape() const { return bLandscape; }
+ bool GetLandscape() const { return bLandscape; }
void SetLandscape( sal_Bool b ) { bLandscape = b; }
};
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx
index 62e8ed697407..1e34fb961306 100644
--- a/sw/inc/swmodule.hxx
+++ b/sw/inc/swmodule.hxx
@@ -145,15 +145,15 @@ public:
const SwViewOption* GetViewOption(sal_Bool bWeb);
void ApplyUsrPref(const SwViewOption &, SwView*,
sal_uInt16 nDest = VIEWOPT_DEST_VIEW );
- void ApplyUserMetric( FieldUnit eMetric, sal_Bool bWeb );
- void ApplyRulerMetric( FieldUnit eMetric, sal_Bool bHorizontal, sal_Bool bWeb );
+ void ApplyUserMetric( FieldUnit eMetric, bool bWeb );
+ void ApplyRulerMetric( FieldUnit eMetric, sal_Bool bHorizontal, bool bWeb );
void ApplyFldUpdateFlags(SwFldUpdateFlags eFldFlags);
void ApplyLinkMode(sal_Int32 nNewLinkMode);
// Default page mode for text grid.
void ApplyDefaultPageMode(sal_Bool bIsSquaredPageMode);
- void ApplyUserCharUnit(sal_Bool bApplyChar, sal_Bool bWeb); // apply_char_unit
+ void ApplyUserCharUnit(sal_Bool bApplyChar, bool bWeb); // apply_char_unit
// Create ConfigItems.
SwModuleOptions* GetModuleConfig() { return pModuleConfig;}