From fcdd08b46e09fea51c0b43068a27da6cb10a0750 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Wed, 10 Oct 2012 11:58:03 +0200 Subject: little clean-up Change-Id: I9530fe96f36bca4808722d22b564cc3e3111a102 --- sc/source/ui/condformat/condformatdlgentry.cxx | 13 ------------- sc/source/ui/inc/condformatdlgentry.hxx | 2 -- 2 files changed, 15 deletions(-) (limited to 'sc/source') diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index 97706f851ad1..2e1c14869ff6 100644 --- a/sc/source/ui/condformat/condformatdlgentry.cxx +++ b/sc/source/ui/condformat/condformatdlgentry.cxx @@ -42,12 +42,7 @@ ScCondFrmtEntry::ScCondFrmtEntry(Window* pParent, ScDocument* pDoc, const ScAddr { SetControlBackground(GetSettings().GetStyleSettings().GetDialogColor()); - /* - */ - //disable entries for color formats - maLbType.SetSelectHdl( LINK( pParent, ScCondFormatList, TypeListHdl ) ); - Init(); maClickHdl = LINK( pParent, ScCondFormatList, EntrySelectHdl ); } @@ -55,13 +50,6 @@ ScCondFrmtEntry::~ScCondFrmtEntry() { } -void ScCondFrmtEntry::Init() -{ - /* - - */ -} - long ScCondFrmtEntry::Notify( NotifyEvent& rNEvt ) { if( rNEvt.GetType() == EVENT_MOUSEBUTTONDOWN ) @@ -104,7 +92,6 @@ void ScCondFrmtEntry::SetHeight() } } - void ScCondFrmtEntry::Select() { maFtCondition.SetText(rtl::OUString()); diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx index f28a82442e46..c9c61dbd247f 100644 --- a/sc/source/ui/inc/condformatdlgentry.hxx +++ b/sc/source/ui/inc/condformatdlgentry.hxx @@ -39,8 +39,6 @@ private: FixedText maFtCondNr; FixedText maFtCondition; - void Init(); - sal_Int32 mnIndex; rtl::OUString maStrCondition; protected: -- cgit