cui: remove dead code
Change-Id: I3f27d1b502512a5603110445da7b0c50a5339198
Reviewed-on: https://gerrit.libreoffice.org/47486
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 8a3a972..ac27fac 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1706,15 +1706,6 @@ void OfaLanguagesTabPage::Reset( const SfxItemSet* rSet )
m_pWesternLanguageFT->Enable( bEnable );
m_pWesternLanguageLB->Enable( bEnable );
// #i15812# controls for CJK/CTL already enabled/disabled from LocaleSettingHdl
#if 0
bEnable = ( !pLangConfig->aLinguConfig.IsReadOnly( "DefaultLocale_CJK" ) && m_pAsianSupportCB->IsChecked() );
m_pAsianLanguageLB->Enable( bEnable );
bEnable = ( !pLangConfig->aLinguConfig.IsReadOnly( "DefaultLocale_CTL" ) && m_pCTLSupportCB->IsChecked() );
m_pComplexLanguageLB->Enable( bEnable );
#endif
// check the box "For the current document only"
// set the focus to the Western Language box
const SfxPoolItem* pLang = nullptr;
@@ -1912,13 +1903,7 @@ IMPL_LINK( OfaLanguagesTabPage, DatePatternsHdl, Edit&, rEd, void )
}
else
{
#if 0
//! Gives white on white!?! instead of white on reddish.
rEd.SetControlBackground( ::Color( RGB_COLORDATA( 0xff, 0x65, 0x63)));
rEd.SetControlForeground( ::Color( COL_WHITE));
#else
rEd.SetControlForeground( ::Color( RGB_COLORDATA( 0xf0, 0, 0)));
#endif
}
m_bDatePatternsValid = bValid;
}