cui/source/options/optgdlg.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 16e7112f3e34302db168bfbb8f3b3882d6358715
Author: Caolán McNamara <caol...@redhat.com>
Date:   Fri Feb 21 13:40:03 2014 +0000

    -Werror=parentheses
    
    Change-Id: I8e64440635d9d94d62c67fd542b39a2436390de2

diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index d8b456d..f93dc04 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1142,13 +1142,15 @@ OfaLanguagesTabPage::OfaLanguagesTabPage( Window* 
pParent, const SfxItemSet& rSe
     m_pAsianSupportCB->SetClickHdl( aLink );
     m_pCTLSupportCB->SetClickHdl( aLink );
 
-    m_pAsianSupportCB->Check( m_bOldAsian = 
pLangConfig->aLanguageOptions.IsAnyEnabled() );
+    m_bOldAsian = pLangConfig->aLanguageOptions.IsAnyEnabled();
+    m_pAsianSupportCB->Check(m_bOldAsian);
     m_pAsianSupportCB->SaveValue();
     sal_Bool bReadonly = 
pLangConfig->aLanguageOptions.IsReadOnly(SvtLanguageOptions::E_ALLCJK);
     m_pAsianSupportCB->Enable(!bReadonly);
     SupportHdl( m_pAsianSupportCB );
 
-    m_pCTLSupportCB->Check( m_bOldCtl = 
pLangConfig->aLanguageOptions.IsCTLFontEnabled() );
+    m_bOldCtl = pLangConfig->aLanguageOptions.IsCTLFontEnabled();
+    m_pCTLSupportCB->Check(m_bOldCtl);
     m_pCTLSupportCB->SaveValue();
     bReadonly = 
pLangConfig->aLanguageOptions.IsReadOnly(SvtLanguageOptions::E_CTLFONT);
     m_pCTLSupportCB->Enable(!bReadonly);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to