summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-06-29 10:20:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-06-29 12:23:50 +0200
commitdb3b0ddbe0f016268c21eebb0146be87dc738efc (patch)
treea608d503f44a2c0b13feb086150a5ffe0e03e3d6 /vcl/source
parentb3057b7944dc52cc2ee3c57f44d4265c625e8dad (diff)
loplugin:unusedfields
Change-Id: Ia0f517fba3a0660b64c97f426cc2cdfbbcd0ebad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97391 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/calendar.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/control/calendar.cxx b/vcl/source/control/calendar.cxx
index d8d3d1f88c01..bc6653b95181 100644
--- a/vcl/source/control/calendar.cxx
+++ b/vcl/source/control/calendar.cxx
@@ -79,7 +79,6 @@ void Calendar::ImplInit( WinBits nWinStyle )
mbSpinDown = false;
mbPrevIn = false;
mbNextIn = false;
- mbTravelSelect = false;
mbAllSel = false;
OUString aGregorian( "gregorian");
@@ -1134,9 +1133,7 @@ void Calendar::KeyInput( const KeyEvent& rKEvt )
if ( aNewDate != maCurDate )
{
SetCurDate( aNewDate );
- mbTravelSelect = true;
Select();
- mbTravelSelect = false;
}
if (rKEvt.GetKeyCode().GetCode() == KEY_RETURN)