summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2018-01-06 14:17:22 +1100
committerMichael Meeks <michael.meeks@collabora.com>2018-02-19 11:08:42 +0100
commitbd22f1be6739c9d90e129e5b094206157893c030 (patch)
tree02f83e4e04fe892c959407da8e16a4a455cc5825 /cui
parenta2721ba03e61a476838d3c518505b05a12ad2a5b (diff)
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>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgdlg.cxx15
1 files changed, 0 insertions, 15 deletions
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;
}