From 2b24fba09c3eaf5d412aa3c3135dfa403b92c788 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 4 Jul 2017 09:46:09 +0200 Subject: loplugin:unusedfields in framework Change-Id: Ibb602e037bcee518c31dfe9734a5c5773cff23ab Reviewed-on: https://gerrit.libreoffice.org/39492 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/inc/classes/rootactiontriggercontainer.hxx | 1 - framework/inc/helper/statusindicatorfactory.hxx | 7 +------ framework/inc/uielement/uielement.hxx | 8 +------- 3 files changed, 2 insertions(+), 14 deletions(-) (limited to 'framework/inc') diff --git a/framework/inc/classes/rootactiontriggercontainer.hxx b/framework/inc/classes/rootactiontriggercontainer.hxx index f67557f16923..1613ac6616ec 100644 --- a/framework/inc/classes/rootactiontriggercontainer.hxx +++ b/framework/inc/classes/rootactiontriggercontainer.hxx @@ -93,7 +93,6 @@ class FWE_DLLPUBLIC RootActionTriggerContainer : public PropertySetContainer, void FillContainer(); bool m_bContainerCreated; - bool m_bInContainerCreation; VclPtr m_pMenu; const OUString* m_pMenuIdentifier; }; diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx index 6424c292d9ba..a01b63e261e9 100644 --- a/framework/inc/helper/statusindicatorfactory.hxx +++ b/framework/inc/helper/statusindicatorfactory.hxx @@ -68,9 +68,6 @@ struct IndicatorInfo /** @short the last set text for this indicator */ OUString m_sText; - /** @short the max range for this indicator. */ - sal_Int32 m_nRange; - /** @short the last set value for this indicator */ sal_Int32 m_nValue; @@ -89,12 +86,10 @@ struct IndicatorInfo the max range for this indicator. */ IndicatorInfo(const css::uno::Reference< css::task::XStatusIndicator >& xIndicator, - const OUString& sText , - sal_Int32 nRange ) + const OUString& sText ) { m_xIndicator = xIndicator; m_sText = sText; - m_nRange = nRange; m_nValue = 0; } diff --git a/framework/inc/uielement/uielement.hxx b/framework/inc/uielement/uielement.hxx index 0a55739cdcf6..777485ce1bc5 100644 --- a/framework/inc/uielement/uielement.hxx +++ b/framework/inc/uielement/uielement.hxx @@ -61,9 +61,7 @@ struct UIElement m_bUserActive( false ), m_bMasterHide( false ), m_bContextSensitive( false ), - m_bContextActive( true ), m_bNoClose( false ), - m_bSoftClose( false ), m_bStateRead( false ), m_nStyle( ButtonType::SYMBOLONLY ) {} @@ -79,9 +77,7 @@ struct UIElement m_bUserActive( false ), m_bMasterHide( false ), m_bContextSensitive( false ), - m_bContextActive( true ), m_bNoClose( false ), - m_bSoftClose( false ), m_bStateRead( false ), m_nStyle( ButtonType::SYMBOLONLY ) {} @@ -96,10 +92,8 @@ struct UIElement m_bVisible, m_bUserActive, m_bMasterHide, - m_bContextSensitive, - m_bContextActive; + m_bContextSensitive; bool m_bNoClose, - m_bSoftClose, m_bStateRead; ButtonType m_nStyle; DockedData m_aDockedData; -- cgit