From b1167e125076c8d088119585672105fd0bcbd6ee Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Tue, 16 Oct 2012 18:29:11 +0900 Subject: sal_Bool to bool Change-Id: I89050a1aa899b1a6cd49800f805af9611fd0a9a7 --- sw/inc/acmplwrd.hxx | 2 +- sw/inc/bparr.hxx | 2 +- sw/inc/doc.hxx | 2 +- sw/inc/ndarr.hxx | 2 +- sw/inc/swmodule.hxx | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sw/inc') diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx index 09586c8fddc2..b26721330d39 100644 --- a/sw/inc/acmplwrd.hxx +++ b/sw/inc/acmplwrd.hxx @@ -91,7 +91,7 @@ public: // Returns all words matching a given prefix aMatch. If bIgnoreCurrentPos is set, the current // position within the tree is ignored and replaced by aMatch. - bool GetWordsMatching(String aMatch, std::vector& aWords, sal_Bool bIgnoreCurrentPos) const; + bool GetWordsMatching(String aMatch, std::vector& aWords, bool bIgnoreCurrentPos) const; }; diff --git a/sw/inc/bparr.hxx b/sw/inc/bparr.hxx index e5035a805547..2a644d385988 100644 --- a/sw/inc/bparr.hxx +++ b/sw/inc/bparr.hxx @@ -54,7 +54,7 @@ protected: typedef BigPtrEntry* ElementPtr; -typedef sal_Bool (*FnForEach)( const ElementPtr&, void* pArgs ); +typedef bool (*FnForEach)( const ElementPtr&, void* pArgs ); // 1000 entries per Block = a bit less then 4K #define MAXENTRY 1000 diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 76a7ef4767dd..9649c7ea39c1 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1795,7 +1795,7 @@ public: sal_Bool DeleteSelection( SwDrawView& ); /// Invalidates OnlineSpell-WrongLists. - void SpellItAgainSam( sal_Bool bInvalid, sal_Bool bOnlyWrong, sal_Bool bSmartTags ); + void SpellItAgainSam( bool bInvalid, bool bOnlyWrong, bool bSmartTags ); void InvalidateAutoCompleteFlag(); void SetCalcFieldValueHdl(Outliner* pOutliner); diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 2f393af73bd0..a7401a02badc 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -79,7 +79,7 @@ struct SwPosition; // -------------------- typedef SwNode * SwNodePtr; -typedef sal_Bool (*FnForEach_SwNodes)( const SwNodePtr&, void* pArgs ); +typedef bool (*FnForEach_SwNodes)( const SwNodePtr&, void* pArgs ); typedef struct _xmlTextWriter *xmlTextWriterPtr; struct CompareSwOutlineNodes diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index 64584f5651f3..e11ac4759b4d 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -232,8 +232,8 @@ public: void RemoveAttrPool(); // Invalidates online spell-wrong-lists if necessary. - void CheckSpellChanges( sal_Bool bOnlineSpelling, - sal_Bool bIsSpellWrongAgain, sal_Bool bIsSpellAllAgain, sal_Bool bSmartTags ); + void CheckSpellChanges( bool bOnlineSpelling, + bool bIsSpellWrongAgain, bool bIsSpellAllAgain, bool bSmartTags ); inline ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XLinguServiceEventListener > -- cgit