diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-11-17 06:44:00 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-11-17 07:22:43 +0900 |
commit | 5c6bbe6a23b6b746dcbb20de1360b4745b1e4679 (patch) | |
tree | 6ee815098d4e6340ec2bd7ddba3f8ee68c48102e /sw/inc | |
parent | c7bedbf124b4c903249ea78ba1f819e1e58d38f7 (diff) |
sal_Bool to bool
Change-Id: I0b01f904f78ec1a3d1aebd2af2ae8f55588a504f
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/format.hxx | 14 | ||||
-rw-r--r-- | sw/inc/frmfmt.hxx | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx index abea51a88d64..a777f9f522e8 100644 --- a/sw/inc/format.hxx +++ b/sw/inc/format.hxx @@ -46,10 +46,10 @@ class SW_DLLPUBLIC SwFmt : public SwModify (is not hard attribution!!!) */ sal_uInt16 nPoolHelpId; ///< HelpId for this Pool-style. sal_uInt8 nPoolHlpFileId; ///< FilePos to Doc to these style helps. - sal_Bool bWritten : 1; ///< TRUE: already written. + bool bWritten : 1; ///< TRUE: already written. bool bAutoFmt : 1; /**< FALSE: it is a template. default is true! */ - sal_Bool bFmtInDTOR : 1; /**< TRUE: Format becomes deleted. In order to be able + bool bFmtInDTOR : 1; /**< TRUE: Format becomes deleted. In order to be able to recognize this in FmtChg-message!! */ sal_Bool bAutoUpdateFmt : 1;/**< TRUE: Set attributes of a whole paragraph at format (UI-side!). */ @@ -101,7 +101,7 @@ public: virtual sal_uInt16 ResetAllFmtAttr(); inline SwFmt* DerivedFrom() const { return (SwFmt*)GetRegisteredIn(); } - inline sal_Bool IsDefault() const { return DerivedFrom() == 0; } + inline bool IsDefault() const { return DerivedFrom() == 0; } inline OUString GetName() const { return aFmtName; } void SetName( const OUString& rNewName, sal_Bool bBroadcast=sal_False ); @@ -152,7 +152,7 @@ public: { aSet.GetPresentation( ePres, eCoreMetric, ePresMetric, rText ); } /// Format-ID for reading/writing: - void ResetWritten() { bWritten = sal_False; } + void ResetWritten() { bWritten = false; } /// Query / set AutoFmt-flag. bool IsAuto() const { return bAutoFmt; } @@ -168,7 +168,7 @@ public: sal_Bool IsAutoUpdateFmt() const { return bAutoUpdateFmt; } void SetAutoUpdateFmt( sal_Bool bNew = sal_True ) { bAutoUpdateFmt = bNew; } - sal_Bool IsFmtInDTOR() const { return bFmtInDTOR; } + bool IsFmtInDTOR() const { return bFmtInDTOR; } /** GetMethods: Bool indicates whether to search only in Set (FALSE) or also in Parents. @@ -306,7 +306,7 @@ public: @return false, default implementation */ - virtual sal_Bool IsBackgroundTransparent() const; + virtual bool IsBackgroundTransparent() const; /** SwFmt::IsShadowTransparent @@ -318,7 +318,7 @@ public: @return false, default implementation */ - virtual sal_Bool IsShadowTransparent() const; + virtual bool IsShadowTransparent() const; }; // --------------- inline Implementations ------------------------ diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 29436cbe7bb9..aa86dce5da9f 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -191,7 +191,7 @@ public: @return true, if background color is transparent, but not "no fill" or a existing background graphic is transparent. */ - virtual sal_Bool IsBackgroundTransparent() const; + virtual bool IsBackgroundTransparent() const; /** SwFlyFrmFmt::IsBackgroundBrushInherited @@ -204,7 +204,7 @@ public: @return true, if background brush is "inherited" from parent/grandparent */ - sal_Bool IsBackgroundBrushInherited() const; + bool IsBackgroundBrushInherited() const; const Point & GetLastFlyFrmPrtRectPos() const { return m_aLastFlyFrmPrtRectPos; } void SetLastFlyFrmPrtRectPos( const Point &rPoint ) { m_aLastFlyFrmPrtRectPos = rPoint; } |