Kaydet (Commit) 27f1ba57 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

kill RefEdit constructor that does not initialize the highlighting

Change-Id: I5c277526fdf376bfa96466e25975388edc3c7950
üst 21ccb6b4
...@@ -44,7 +44,6 @@ protected: ...@@ -44,7 +44,6 @@ protected:
public: public:
RefEdit( Window* _pParent,IControlReferenceHandler* pParent, const ResId& rResId ); RefEdit( Window* _pParent,IControlReferenceHandler* pParent, const ResId& rResId );
RefEdit( Window* pParent, const ResId& rResId );
virtual ~RefEdit(); virtual ~RefEdit();
void SetRefString( const XubString& rStr ); void SetRefString( const XubString& rStr );
......
...@@ -86,7 +86,7 @@ void ValWnd::SetValue( const String& rStrVal ) ...@@ -86,7 +86,7 @@ void ValWnd::SetValue( const String& rStrVal )
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
ArgEdit::ArgEdit( Window* pParent, const ResId& rResId ) ArgEdit::ArgEdit( Window* pParent, const ResId& rResId )
: RefEdit( pParent, rResId ), : RefEdit( pParent, NULL, rResId ),
pEdPrev ( NULL ), pEdPrev ( NULL ),
pEdNext ( NULL ), pEdNext ( NULL ),
pSlider ( NULL ), pSlider ( NULL ),
...@@ -854,12 +854,6 @@ RefEdit::RefEdit( Window* _pParent,IControlReferenceHandler* pParent, const ResI ...@@ -854,12 +854,6 @@ RefEdit::RefEdit( Window* _pParent,IControlReferenceHandler* pParent, const ResI
aTimer.SetTimeout( SC_ENABLE_TIME ); aTimer.SetTimeout( SC_ENABLE_TIME );
} }
RefEdit::RefEdit( Window* pParent, const ResId& rResId ) :
Edit( pParent, rResId ),
pAnyRefDlg( NULL )
{
}
RefEdit::~RefEdit() RefEdit::~RefEdit()
{ {
aTimer.SetTimeoutHdl( Link() ); aTimer.SetTimeoutHdl( Link() );
......
...@@ -139,8 +139,8 @@ IMPL_LINK(ScCondFrmtEntry, EdModifyHdl, Edit*, pEdit) ...@@ -139,8 +139,8 @@ IMPL_LINK(ScCondFrmtEntry, EdModifyHdl, Edit*, pEdit)
ScConditionFrmtEntry::ScConditionFrmtEntry( Window* pParent, ScDocument* pDoc, const ScAddress& rPos, const ScCondFormatEntry* pFormatEntry ): ScConditionFrmtEntry::ScConditionFrmtEntry( Window* pParent, ScDocument* pDoc, const ScAddress& rPos, const ScCondFormatEntry* pFormatEntry ):
ScCondFrmtEntry( pParent, pDoc, rPos ), ScCondFrmtEntry( pParent, pDoc, rPos ),
maLbCondType( this, ScResId( LB_CELLIS_TYPE ) ), maLbCondType( this, ScResId( LB_CELLIS_TYPE ) ),
maEdVal1( this, ScResId( ED_VAL1 ) ), maEdVal1( this, static_cast<ScAnyRefDlg*>(pParent->GetParent()), ScResId( ED_VAL1 ) ),
maEdVal2( this, ScResId( ED_VAL2 ) ), maEdVal2( this, static_cast<ScAnyRefDlg*>(pParent->GetParent()), ScResId( ED_VAL2 ) ),
maFtStyle( this, ScResId( FT_STYLE ) ), maFtStyle( this, ScResId( FT_STYLE ) ),
maLbStyle( this, ScResId( LB_STYLE ) ), maLbStyle( this, ScResId( LB_STYLE ) ),
maWdPreview( this, ScResId( WD_PREVIEW ) ) maWdPreview( this, ScResId( WD_PREVIEW ) )
...@@ -375,7 +375,7 @@ ScFormulaFrmtEntry::ScFormulaFrmtEntry( Window* pParent, ScDocument* pDoc, const ...@@ -375,7 +375,7 @@ ScFormulaFrmtEntry::ScFormulaFrmtEntry( Window* pParent, ScDocument* pDoc, const
maFtStyle( this, ScResId( FT_STYLE ) ), maFtStyle( this, ScResId( FT_STYLE ) ),
maLbStyle( this, ScResId( LB_STYLE ) ), maLbStyle( this, ScResId( LB_STYLE ) ),
maWdPreview( this, ScResId( WD_PREVIEW ) ), maWdPreview( this, ScResId( WD_PREVIEW ) ),
maEdFormula( this, ScResId( ED_FORMULA ) ) maEdFormula( this, static_cast<ScAnyRefDlg*>(pParent->GetParent()), ScResId( ED_FORMULA ) )
{ {
Init(); Init();
......
...@@ -323,10 +323,10 @@ ScTPValidationValue::ScTPValidationValue( Window* pParent, const SfxItemSet& rAr ...@@ -323,10 +323,10 @@ ScTPValidationValue::ScTPValidationValue( Window* pParent, const SfxItemSet& rAr
maFtValue ( this, ScResId( FT_VALUE ) ), maFtValue ( this, ScResId( FT_VALUE ) ),
maLbValue ( this, ScResId( LB_VALUE ) ), maLbValue ( this, ScResId( LB_VALUE ) ),
maFtMin ( this, ScResId( FT_MIN ) ), maFtMin ( this, ScResId( FT_MIN ) ),
maEdMin ( this, ScResId( EDT_MIN ) ), maEdMin ( this, NULL, ScResId( EDT_MIN ) ),
maEdList ( this, ScResId( EDT_LIST ) ), maEdList ( this, ScResId( EDT_LIST ) ),
maFtMax ( this, ScResId( FT_MAX ) ), maFtMax ( this, ScResId( FT_MAX ) ),
maEdMax ( this, ScResId( EDT_MAX ) ), maEdMax ( this, NULL, ScResId( EDT_MAX ) ),
maFtHint ( this, ScResId( FT_SOURCEHINT ) ), maFtHint ( this, ScResId( FT_SOURCEHINT ) ),
maStrMin ( ScResId( SCSTR_VALID_MINIMUM ) ), maStrMin ( ScResId( SCSTR_VALID_MINIMUM ) ),
maStrMax ( ScResId( SCSTR_VALID_MAXIMUM ) ), maStrMax ( ScResId( SCSTR_VALID_MAXIMUM ) ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment