From 16e7112f3e34302db168bfbb8f3b3882d6358715 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 21 Feb 2014 13:40:03 +0000 Subject: -Werror=parentheses Change-Id: I8e64440635d9d94d62c67fd542b39a2436390de2 --- cui/source/options/optgdlg.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cui/source/options') diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index d8b456dfb128..f93dc04f52f6 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); -- cgit v1.2.3