diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-14 15:55:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-17 09:59:58 +0200 |
commit | bd39e5fe35423e4ae6a47ad31c12631707e3b31f (patch) | |
tree | c45fe8314fb931a9de3f7a9f299ca0d045505839 | |
parent | 05fe5c5d5ed537a777b45e788382a6ef41717b11 (diff) |
maRequestDateInfoHdl is unused
Change-Id: Icb1cc4ba3cf9de52c961c839cc750145cace8878
-rw-r--r-- | include/svtools/calendar.hxx | 2 | ||||
-rw-r--r-- | svtools/source/control/calendar.cxx | 11 |
2 files changed, 0 insertions, 13 deletions
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx index d412e8d8375e..8caaf2399cd2 100644 --- a/include/svtools/calendar.hxx +++ b/include/svtools/calendar.hxx @@ -216,7 +216,6 @@ private: mbSelLeft:1, mbAllSel:1, mbDropPos:1; - Link<> maRequestDateInfoHdl; Link<> maDoubleClickHdl; Link<> maSelectHdl; Timer maDragScrollTimer; @@ -275,7 +274,6 @@ public: virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; - void RequestDateInfo(); void DoubleClick(); void Select(); diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index f2ac4b4a46f0..fac1439cf521 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -461,21 +461,15 @@ void Calendar::ImplFormat() { if ( nNewFirstYear < mnFirstYear ) { - for ( mnRequestYear = nNewFirstYear; mnRequestYear < mnFirstYear; mnRequestYear++ ) - RequestDateInfo(); mnFirstYear = nNewFirstYear; } if ( nNewLastYear > mnLastYear ) { - for ( mnRequestYear = mnLastYear; mnRequestYear < nNewLastYear; mnRequestYear++ ) - RequestDateInfo(); mnLastYear = nNewLastYear; } } else { - for ( mnRequestYear = nNewFirstYear; mnRequestYear < nNewLastYear; mnRequestYear++ ) - RequestDateInfo(); mnFirstYear = nNewFirstYear; mnLastYear = nNewLastYear; } @@ -1705,11 +1699,6 @@ void Calendar::DataChanged( const DataChangedEvent& rDCEvt ) } } -void Calendar::RequestDateInfo() -{ - maRequestDateInfoHdl.Call( this ); -} - void Calendar::DoubleClick() { maDoubleClickHdl.Call( this ); |