diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 13:40:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 13:40:03 +0000 |
commit | 16e7112f3e34302db168bfbb8f3b3882d6358715 (patch) | |
tree | 5509f754d292dc3a19d625c3282ea3b02b8f87fb /cui/source/options/optgdlg.cxx | |
parent | Kill copy'n'paste. (diff) | |
download | core-16e7112f3e34302db168bfbb8f3b3882d6358715.tar.gz core-16e7112f3e34302db168bfbb8f3b3882d6358715.zip |
-Werror=parentheses
Change-Id: I8e64440635d9d94d62c67fd542b39a2436390de2
Diffstat (limited to 'cui/source/options/optgdlg.cxx')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
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); |