[Libreoffice-commits] core.git: cui/source
Chris Sherlock
chris.sherlock79 at gmail.com
Mon Feb 19 10:09:04 UTC 2018
cui/source/options/optgdlg.cxx | 15 ---------------
1 file changed, 15 deletions(-)
New commits:
commit bd22f1be6739c9d90e129e5b094206157893c030
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Sat Jan 6 14:17:22 2018 +1100
cui: remove dead code
Change-Id: I3f27d1b502512a5603110445da7b0c50a5339198
Reviewed-on: https://gerrit.libreoffice.org/47486
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 8a3a972771f5..ac27fac89024 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;
}
More information about the Libreoffice-commits
mailing list