Kaydet (Commit) dfcf7927 authored tarafından Noel Grandin's avatar Noel Grandin

maDoubleClickHdl is unused

Change-Id: I3c3d1e0985e0aaedc59013faf3957986c5423958
üst bd39e5fe
......@@ -216,7 +216,6 @@ private:
mbSelLeft:1,
mbAllSel:1,
mbDropPos:1;
Link<> maDoubleClickHdl;
Link<> maSelectHdl;
Timer maDragScrollTimer;
sal_uInt16 mnDragScrollHitTest;
......@@ -274,7 +273,6 @@ public:
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
void DoubleClick();
void Select();
void SelectDate( const Date& rDate, bool bSelect = true );
......
......@@ -1393,9 +1393,7 @@ void Calendar::MouseButtonDown( const MouseEvent& rMEvt )
}
else
{
if ( (rMEvt.GetClicks() == 2) && (nHitTest & CALENDAR_HITTEST_DAY) )
DoubleClick();
else
if ( (rMEvt.GetClicks() != 2) || !(nHitTest & CALENDAR_HITTEST_DAY) )
{
delete mpOldSelectTable;
maOldCurDate = maCurDate;
......@@ -1699,11 +1697,6 @@ void Calendar::DataChanged( const DataChangedEvent& rDCEvt )
}
}
void Calendar::DoubleClick()
{
maDoubleClickHdl.Call( this );
}
void Calendar::Select()
{
maSelectHdl.Call( this );
......
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