summaryrefslogtreecommitdiff
path: root/svtools/source/control
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-25 10:21:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-25 13:10:03 +0200
commit4d41b2e42fb91b99bd17b13f0f592978f4ccfba7 (patch)
tree7901e9cee894825e5bdc15999a2a2f385eee3bac /svtools/source/control
parentd181d8acbf49e2fe87c8cf53a9431e503ccced55 (diff)
loplugin:unusedfields
Change-Id: I81bcf4f56599146536ba8d66cc86fa5a08737298 Reviewed-on: https://gerrit.libreoffice.org/41556 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/control')
-rw-r--r--svtools/source/control/calendar.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index 911f464eac3d..1195fb09be50 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -71,7 +71,6 @@ void Calendar::ImplInit( WinBits nWinStyle )
{
mpSelectTable = new IntDateSet;
mpOldSelectTable = nullptr;
- mpRestoreSelectTable = nullptr;
mpStandardColor = nullptr;
mpSaturdayColor = nullptr;
mpSundayColor = nullptr;
@@ -83,13 +82,11 @@ void Calendar::ImplInit( WinBits nWinStyle )
mbFormat = true;
mbDrag = false;
mbSelection = false;
- mbUnSel = false;
mbMenuDown = false;
mbSpinDown = false;
mbPrevIn = false;
mbNextIn = false;
mbTravelSelect = false;
- mbSelLeft = false;
mbAllSel = false;
mbDropPos = false;
@@ -173,7 +170,6 @@ void Calendar::dispose()
delete mpSelectTable;
delete mpOldSelectTable;
- delete mpRestoreSelectTable;
Control::dispose();
}
@@ -859,10 +855,6 @@ void Calendar::ImplMouseSelect( const Date& rDate, sal_uInt16 nHitTest,
if ( !(nHitTest & CALENDAR_HITTEST_DAY) )
--aTempDate;
- if ( aTempDate < maCurDate )
- mbSelLeft = true;
- else
- mbSelLeft = false;
if ( !(nHitTest & CALENDAR_HITTEST_DAY) )
aTempDate = maOldCurDate;
if ( !bMove )
@@ -1009,7 +1001,6 @@ void Calendar::ImplEndTracking( bool bCancel )
mbDrag = false;
mbSelection = false;
- mbUnSel = false;
mbSpinDown = false;
mbPrevIn = false;
mbNextIn = false;
@@ -1060,8 +1051,6 @@ void Calendar::ImplEndTracking( bool bCancel )
delete mpOldSelectTable;
mpOldSelectTable = nullptr;
- delete mpRestoreSelectTable;
- mpRestoreSelectTable = nullptr;
}
}