summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-04 09:46:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-04 10:51:46 +0200
commit2b24fba09c3eaf5d412aa3c3135dfa403b92c788 (patch)
tree40bde0fa1c0ee5598c9cffb3454a095ec66af7a4 /framework/inc
parentdd74a659c60c1f0e7733d4244e808865377c6316 (diff)
loplugin:unusedfields in framework
Change-Id: Ibb602e037bcee518c31dfe9734a5c5773cff23ab Reviewed-on: https://gerrit.libreoffice.org/39492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/classes/rootactiontriggercontainer.hxx1
-rw-r--r--framework/inc/helper/statusindicatorfactory.hxx7
-rw-r--r--framework/inc/uielement/uielement.hxx8
3 files changed, 2 insertions, 14 deletions
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<const Menu> 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;