summaryrefslogtreecommitdiff
path: root/sw/inc/format.hxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-11-17 06:44:00 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-11-17 07:22:43 +0900
commit5c6bbe6a23b6b746dcbb20de1360b4745b1e4679 (patch)
tree6ee815098d4e6340ec2bd7ddba3f8ee68c48102e /sw/inc/format.hxx
parentc7bedbf124b4c903249ea78ba1f819e1e58d38f7 (diff)
sal_Bool to bool
Change-Id: I0b01f904f78ec1a3d1aebd2af2ae8f55588a504f
Diffstat (limited to 'sw/inc/format.hxx')
-rw-r--r--sw/inc/format.hxx14
1 files changed, 7 insertions, 7 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 ------------------------