diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:57:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:24:40 +0100 |
commit | 9d29f9913faaefe350d7e056330368b3dfa26d49 (patch) | |
tree | 5daa4993ba62911ee9c833e4dcc09556ec5fb612 /svl/source/config/ctloptions.cxx | |
parent | c35616dd73c8b05e422f3b561f21e21f5489d574 (diff) |
bool improvements
Change-Id: I6cf511b92383f3cd60923620518b9233b82850c0
Diffstat (limited to 'svl/source/config/ctloptions.cxx')
-rw-r--r-- | svl/source/config/ctloptions.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx index feb66a5d255d..bbad8e9e14f0 100644 --- a/svl/source/config/ctloptions.cxx +++ b/svl/source/config/ctloptions.cxx @@ -35,7 +35,7 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -#define CFG_READONLY_DEFAULT sal_False +#define CFG_READONLY_DEFAULT false // SvtCJKOptions_Impl ---------------------------------------------------------- @@ -112,11 +112,11 @@ SvtCTLOptions_Impl::SvtCTLOptions_Impl() : utl::ConfigItem("Office.Common/I18N/CTL"), - m_bIsLoaded ( sal_False ), - m_bCTLFontEnabled ( sal_False ), - m_bCTLSequenceChecking ( sal_False ), - m_bCTLRestricted ( sal_False ), - m_bCTLTypeAndReplace ( sal_False ), + m_bIsLoaded ( false ), + m_bCTLFontEnabled ( false ), + m_bCTLSequenceChecking ( false ), + m_bCTLRestricted ( false ), + m_bCTLTypeAndReplace ( false ), m_eCTLCursorMovement ( SvtCTLOptions::MOVEMENT_LOGICAL ), m_eCTLTextNumerals ( SvtCTLOptions::NUMERALS_ARABIC ), @@ -311,7 +311,7 @@ void SvtCTLOptions_Impl::Load() if (bAutoEnableCTL) { - m_bCTLFontEnabled = sal_True; + m_bCTLFontEnabled = true; sal_uInt16 nLanguage = SvtSysLocale().GetLanguageTag().getLanguageType(); //enable sequence checking for the appropriate languages m_bCTLSequenceChecking = m_bCTLRestricted = m_bCTLTypeAndReplace = @@ -321,7 +321,7 @@ void SvtCTLOptions_Impl::Load() } } - m_bIsLoaded = sal_True; + m_bIsLoaded = true; } void SvtCTLOptions_Impl::SetCTLFontEnabled( bool _bEnabled ) { |