From db3b0ddbe0f016268c21eebb0146be87dc738efc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 29 Jun 2020 10:20:12 +0200 Subject: loplugin:unusedfields Change-Id: Ia0f517fba3a0660b64c97f426cc2cdfbbcd0ebad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97391 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/source/uielement/spinfieldtoolbarcontroller.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'framework/source') 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() ) { -- cgit