summaryrefslogtreecommitdiff
path: root/framework/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 /framework/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 'framework/source')
-rw-r--r--framework/source/uielement/spinfieldtoolbarcontroller.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
index 6747b21ece89..04de7c1a7db5 100644
--- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx
+++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
@@ -199,8 +199,6 @@ SpinfieldToolbarController::SpinfieldToolbarController(
const OUString& aCommand ) :
ComplexToolbarController( rxContext, rFrame, pToolbar, nID, aCommand )
, m_bFloat( false )
- , m_bMaxSet( false )
- , m_bMinSet( false )
, m_nMax( 0.0 )
, m_nMin( 0.0 )
, m_nValue( 0.0 )
@@ -402,13 +400,11 @@ void SpinfieldToolbarController::executeControlCommand( const css::frame::Contro
{
m_nMax = aMax.toDouble();
m_pSpinfieldControl->set_max(m_nMax);
- m_bMaxSet = true;
}
if ( !aMin.isEmpty() )
{
m_nMin = aMin.toDouble();
m_pSpinfieldControl->set_min(m_nMin);
- m_bMinSet = true;
}
if ( !aStep.isEmpty() )
{