diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-04-21 16:55:25 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-22 07:16:25 +0000 |
commit | e0067f8451402f84093836e000acd09fe3ab820d (patch) | |
tree | 4afd4f60cd6f52f5bc3ed4c79861fa57d149469e /sw/inc/hhcwrp.hxx | |
parent | 43c422ebb7a7c1431d179ed1b9572fabf9845aa8 (diff) |
sal_Bool to bool
Change-Id: I5831dfb7270ce3983a454c6c40558a74931d5200
Reviewed-on: https://gerrit.libreoffice.org/3537
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'sw/inc/hhcwrp.hxx')
-rw-r--r-- | sw/inc/hhcwrp.hxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx index be20aa2f206c..81ad1f938c8d 100644 --- a/sw/inc/hhcwrp.hxx +++ b/sw/inc/hhcwrp.hxx @@ -46,22 +46,22 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion sal_uInt16 m_nPageCount; ///< page count for progress bar sal_uInt16 m_nPageStart; ///< first checked page - sal_Bool m_bIsDrawObj; - sal_Bool m_bIsOtherCntnt; - sal_Bool m_bStartChk; - sal_Bool m_bIsSelection; ///< true if only the selected text should be converted - sal_Bool m_bStartDone; - sal_Bool m_bEndDone; + bool m_bIsDrawObj; + bool m_bIsOtherCntnt; + bool m_bStartChk; + bool m_bIsSelection; ///< true if only the selected text should be converted + bool m_bStartDone; + bool m_bEndDone; /// from SvxSpellWrapper copied and modified - sal_Bool ConvNext_impl(); ///< former SpellNext - sal_Bool FindConvText_impl(); ///< former FindSpellError + bool ConvNext_impl(); ///< former SpellNext + bool FindConvText_impl(); ///< former FindSpellError /// from SwSpellWrapper copied and modified - sal_Bool HasOtherCnt_impl(); + bool HasOtherCnt_impl(); void ConvStart_impl( SwConversionArgs *pConvArgs, SvxSpellArea eSpell ); ///< former SpellStart void ConvEnd_impl( SwConversionArgs *pConvArgs ); ///< former SpellEnd - sal_Bool ConvContinue_impl( SwConversionArgs *pConvArgs ); ///< former SpellContinue + bool ConvContinue_impl( SwConversionArgs *pConvArgs ); ///< former SpellContinue void SelectNewUnit_impl( const sal_Int32 nUnitStart, const sal_Int32 nUnitEnd ); @@ -69,15 +69,15 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion const OUString& rOrigText, const ::com::sun::star::uno::Sequence< sal_Int32 > *pOffsets, SwPaM *pCrsr ); - void ChangeText_impl( const String &rNewText, sal_Bool bKeepAttributes ); + void ChangeText_impl( const String &rNewText, bool bKeepAttributes ); - inline sal_Bool IsDrawObj() { return m_bIsDrawObj; } - inline void SetDrawObj( sal_Bool bNew ) { m_bIsDrawObj = bNew; } + inline bool IsDrawObj() { return m_bIsDrawObj; } + inline void SetDrawObj( bool bNew ) { m_bIsDrawObj = bNew; } protected: virtual void GetNextPortion( OUString& rNextPortion, LanguageType& rLangOfPortion, - sal_Bool bAllowImplicitChangesForNotConvertibleText ); + bool bAllowImplicitChangesForNotConvertibleText ); virtual void HandleNewUnit( const sal_Int32 nUnitStart, const sal_Int32 nUnitEnd ); virtual void ReplaceUnit( @@ -88,7 +88,7 @@ protected: ReplacementAction eAction, LanguageType *pNewUnitLanguage ); - virtual sal_Bool HasRubySupport() const; + virtual bool HasRubySupport() const; public: SwHHCWrapper( @@ -96,8 +96,8 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext, LanguageType nSourceLanguage, LanguageType nTargetLanguage, const Font *pTargetFont, - sal_Int32 nConvOptions, sal_Bool bIsInteractive, - sal_Bool bStart, sal_Bool bOther, sal_Bool bSelection ); + sal_Int32 nConvOptions, bool bIsInteractive, + bool bStart, bool bOther, bool bSelection ); virtual ~SwHHCWrapper(); |