diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-23 08:50:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-23 12:39:59 +0100 |
commit | 6f5332dab1517774ddd73c1568c51cb4814e5924 (patch) | |
tree | 533240329ffe54dc60f477bd85dcbaa519dc482f /extensions | |
parent | 0858bae3c12dc81b87a78bb0522b0dff12bbf188 (diff) |
loplugin:unusedfields
Change-Id: I59a63e81cf317094ad60a88d3cdd20fc426c93b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87235
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/propcontroller.cxx | 1 | ||||
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.cxx | 8 | ||||
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.hxx | 3 |
3 files changed, 0 insertions, 12 deletions
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx index 1b9e3f0f7851..3cfd255ad1b7 100644 --- a/extensions/source/propctrlr/propcontroller.cxx +++ b/extensions/source/propctrlr/propcontroller.cxx @@ -171,7 +171,6 @@ namespace pcr try { getPropertyBox().EnableHelpSection( m_xModel->getHasHelpSection() ); - getPropertyBox().SetHelpLineLimites( m_xModel->getMinHelpTextLines(), m_xModel->getMaxHelpTextLines() ); } catch( const Exception& ) { diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx index 94200f274ccc..23a5d990adf2 100644 --- a/extensions/source/propctrlr/propertyeditor.cxx +++ b/extensions/source/propctrlr/propertyeditor.cxx @@ -40,8 +40,6 @@ namespace pcr , m_pObserver(nullptr) , m_nNextId(1) , m_bHasHelpSection(false) - , m_nMinHelpLines(0) - , m_nMaxHelpLines(0) { PropertyHandlerHelper::setBuilderParent(rContext, m_xControlHoldingParent.get()); @@ -221,12 +219,6 @@ namespace pcr } } - void OPropertyEditor::SetHelpLineLimites( sal_Int32 nMinLines, sal_Int32 nMaxLines ) - { - m_nMinHelpLines = nMinLines; - m_nMaxHelpLines = nMaxLines; - } - void OPropertyEditor::enableHelpSection( OBrowserPage& rPage, const void* ) { rPage.getListBox().EnableHelpSection( m_bHasHelpSection ); diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx index a6ec4c211b87..db9a55233928 100644 --- a/extensions/source/propctrlr/propertyeditor.hxx +++ b/extensions/source/propctrlr/propertyeditor.hxx @@ -59,8 +59,6 @@ namespace pcr sal_uInt16 m_nNextId; Link<LinkParamNone*,void> m_aPageActivationHandler; bool m_bHasHelpSection; - sal_Int32 m_nMinHelpLines; - sal_Int32 m_nMaxHelpLines; MapStringToPageId m_aPropertyPageIds; std::map<sal_uInt16, PropertyPage> m_aShownPages; @@ -76,7 +74,6 @@ namespace pcr void EnableHelpSection( bool _bEnable ); bool HasHelpSection() const { return m_bHasHelpSection; } void SetHelpText( const OUString& _rHelpText ); - void SetHelpLineLimites( sal_Int32 _nMinLines, sal_Int32 _nMaxLines ); void SetHelpId( const OString& sHelpId ); sal_uInt16 AppendPage( const OUString& r, const OString& _rHelpId ); |