summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-12-27 14:56:58 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-12-27 15:02:33 +0100
commit0a17a19949abcb6077a1b4eecb88808c85ae6c11 (patch)
treea05acb67801a585aef29d8f835128473811d29fe /svl
parent203fbb160534496a8385a5d4b254050514eaf5f6 (diff)
cppcheck: fix var reassigned
Change-Id: I10bb64672d02626814c162b09b8bdd615f7fcad8
Diffstat (limited to 'svl')
-rw-r--r--svl/source/config/ctloptions.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx
index 84ffcf68e0cd..7ff4c4916c09 100644
--- a/svl/source/config/ctloptions.cxx
+++ b/svl/source/config/ctloptions.cxx
@@ -286,11 +286,9 @@ void SvtCTLOptions_Impl::Load()
if (!m_bCTLFontEnabled)
{
- bool bAutoEnableCTL = false;
-
sal_uInt16 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage(LANGUAGE_SYSTEM);
//system locale is CTL
- bAutoEnableCTL = (nScriptType & SCRIPTTYPE_COMPLEX);
+ bool bAutoEnableCTL = (nScriptType & SCRIPTTYPE_COMPLEX);
LanguageType eSystemLanguage = LANGUAGE_SYSTEM;