summaryrefslogtreecommitdiff
path: root/editeng/inc
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-04-21 16:55:25 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-04-22 07:16:25 +0000
commite0067f8451402f84093836e000acd09fe3ab820d (patch)
tree4afd4f60cd6f52f5bc3ed4c79861fa57d149469e /editeng/inc
parent43c422ebb7a7c1431d179ed1b9572fabf9845aa8 (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 'editeng/inc')
-rw-r--r--editeng/inc/editeng/edtdlg.hxx8
-rw-r--r--editeng/inc/editeng/hangulhanja.hxx28
2 files changed, 18 insertions, 18 deletions
diff --git a/editeng/inc/editeng/edtdlg.hxx b/editeng/inc/editeng/edtdlg.hxx
index a663d409985d..7c998dfa637b 100644
--- a/editeng/inc/editeng/edtdlg.hxx
+++ b/editeng/inc/editeng/edtdlg.hxx
@@ -57,9 +57,9 @@ public:
class AbstractHangulHanjaConversionDialog : public VclAbstractTerminatedDialog
{
public:
- virtual void EnableRubySupport( sal_Bool _bVal ) = 0;
- virtual void SetByCharacter( sal_Bool _bByCharacter ) = 0;
- virtual void SetConversionDirectionState( sal_Bool _bTryBothDirections, editeng::HangulHanjaConversion::ConversionDirection _ePrimaryConversionDirection ) = 0;
+ virtual void EnableRubySupport( bool _bVal ) = 0;
+ virtual void SetByCharacter( bool _bByCharacter ) = 0;
+ virtual void SetConversionDirectionState( bool _bTryBothDirections, editeng::HangulHanjaConversion::ConversionDirection _ePrimaryConversionDirection ) = 0;
virtual void SetConversionFormat( editeng::HangulHanjaConversion::ConversionFormat _eType ) = 0;
virtual void SetOptionsChangedHdl( const Link& _rHdl ) = 0;
virtual void SetIgnoreHdl( const Link& _rHdl ) = 0;
@@ -69,7 +69,7 @@ class AbstractHangulHanjaConversionDialog : public VclAbstractTerminatedDialog
virtual void SetClickByCharacterHdl( const Link& _rHdl ) = 0;
virtual void SetConversionFormatChangedHdl( const Link& _rHdl ) = 0;
virtual void SetFindHdl( const Link& _rHdl ) = 0;
- virtual sal_Bool GetUseBothDirections( ) const= 0;
+ virtual bool GetUseBothDirections() const= 0;
virtual editeng::HangulHanjaConversion::ConversionDirection GetDirection( editeng::HangulHanjaConversion::ConversionDirection _eDefaultDirection ) const = 0;
virtual void SetCurrentString(
const String& _rNewString,
diff --git a/editeng/inc/editeng/hangulhanja.hxx b/editeng/inc/editeng/hangulhanja.hxx
index e48b31bcf972..014dc3e229a9 100644
--- a/editeng/inc/editeng/hangulhanja.hxx
+++ b/editeng/inc/editeng/hangulhanja.hxx
@@ -99,8 +99,8 @@ namespace editeng
SAL_WNODEPRECATED_DECLARATIONS_POP
// used to set initial values of m_pImpl object from saved ones
- static sal_Bool m_bUseSavedValues; // defines if the followng two values should be used for initialization
- static sal_Bool m_bTryBothDirectionsSave;
+ static bool m_bUseSavedValues; // defines if the followng two values should be used for initialization
+ static bool m_bTryBothDirectionsSave;
static ConversionDirection m_ePrimaryConversionDirectionSave;
// Forbidden and not implemented.
@@ -115,7 +115,7 @@ namespace editeng
const ::com::sun::star::lang::Locale& _rTargetLocale,
const Font* _pTargetFont,
sal_Int32 nOptions,
- sal_Bool _bIsInteractive
+ bool _bIsInteractive
);
virtual ~HangulHanjaConversion( );
@@ -127,20 +127,20 @@ namespace editeng
LanguageType GetTargetLanguage() const;
const Font * GetTargetFont() const;
sal_Int32 GetConversionOptions() const;
- sal_Bool IsInteractive() const;
+ bool IsInteractive() const;
// chinese text conversion
- static inline sal_Bool IsSimplified( LanguageType nLang );
- static inline sal_Bool IsTraditional( LanguageType nLang );
- static inline sal_Bool IsChinese( LanguageType nLang );
+ static inline bool IsSimplified( LanguageType nLang );
+ static inline bool IsTraditional( LanguageType nLang );
+ static inline bool IsChinese( LanguageType nLang );
// used to specify that the conversion direction states from the
// last incarnation should be used as
// initial conversion direction for the next incarnation.
// (A hack used to transport a state information from
// one incarnation to the next. Used in Writers text conversion...)
- static void SetUseSavedConversionDirectionState( sal_Bool bVal );
- static sal_Bool IsUseSavedConversionDirectionState();
+ static void SetUseSavedConversionDirectionState( bool bVal );
+ static bool IsUseSavedConversionDirectionState();
protected:
/** retrieves the next text portion which is to be analyzed
@@ -158,7 +158,7 @@ namespace editeng
virtual void GetNextPortion(
OUString& /* [out] */ _rNextPortion,
LanguageType& /* [out] */ _rLangOfPortion,
- sal_Bool /* [in] */ _bAllowImplicitChangesForNotConvertibleText ) = 0;
+ bool /* [in] */ _bAllowImplicitChangesForNotConvertibleText ) = 0;
/** announces a new "current unit"
@@ -262,20 +262,20 @@ namespace editeng
@return
<TRUE/> if rubies are supported.
*/
- virtual sal_Bool HasRubySupport() const = 0;
+ virtual bool HasRubySupport() const = 0;
};
- sal_Bool HangulHanjaConversion::IsSimplified( LanguageType nLang )
+ bool HangulHanjaConversion::IsSimplified( LanguageType nLang )
{
return MsLangId::isSimplifiedChinese(nLang);
}
- sal_Bool HangulHanjaConversion::IsTraditional( LanguageType nLang )
+ bool HangulHanjaConversion::IsTraditional( LanguageType nLang )
{
return MsLangId::isTraditionalChinese(nLang);
}
- sal_Bool HangulHanjaConversion::IsChinese( LanguageType nLang )
+ bool HangulHanjaConversion::IsChinese( LanguageType nLang )
{
return MsLangId::isChinese(nLang);
}