diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-22 10:03:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-23 12:24:01 +0200 |
commit | 1aa37aa6bee19099b57555a6d839992b054aa405 (patch) | |
tree | 1cb89df2b195a5bbce1a4ba0bdf18068b0249dc3 /svx | |
parent | 8b1501d80dc9d3f42c351c6e026fa737e116cae5 (diff) |
loplugin:unusedmethods
Change-Id: I9dac9260af9955dc4a66b34c33265c6e36094322
Reviewed-on: https://gerrit.libreoffice.org/60911
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/langbox.cxx | 57 | ||||
-rw-r--r-- | svx/source/engine3d/scene3d.cxx | 5 | ||||
-rw-r--r-- | svx/source/svdraw/svdogrp.cxx | 5 | ||||
-rw-r--r-- | svx/source/svdraw/svdpage.cxx | 5 |
4 files changed, 0 insertions, 72 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index 1279f70a22f4..7814f443c5d8 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -836,7 +836,6 @@ SvxLanguageBox::SvxLanguageBox( vcl::Window* pParent, WinBits nBits ) SvxLanguageComboBox::SvxLanguageComboBox( vcl::Window* pParent, WinBits nBits ) : ComboBox( pParent, nBits ) , SvxLanguageBoxBase() - , mnSavedValuePos( COMBOBOX_ENTRY_NOTFOUND ) , meEditedAndValid( EditedAndValid::No ) { // display entries sorted @@ -959,62 +958,6 @@ sal_Int32 SvxLanguageComboBox::ImplGetEntryPos( const void* pData ) const } -void SvxLanguageBox::ImplSetNoSelection() -{ - SetNoSelection(); -} - -void SvxLanguageComboBox::ImplSetNoSelection() -{ - SetNoSelection(); -} - - -void SvxLanguageBox::ImplHide() -{ - Hide(); -} - -void SvxLanguageComboBox::ImplHide() -{ - Hide(); -} - - -void SvxLanguageBox::ImplDisable() -{ - Disable(); -} - -void SvxLanguageComboBox::ImplDisable() -{ - Disable(); -} - - -void SvxLanguageBox::ImplSaveValue() -{ - SaveValue(); -} - -void SvxLanguageComboBox::ImplSaveValue() -{ - // Emulate the ListBox behavior. - mnSavedValuePos = GetSelectedEntryPos(); -} - - -sal_Int32 SvxLanguageBox::ImplGetSavedValue() const -{ - return GetSavedValue(); -} - -sal_Int32 SvxLanguageComboBox::ImplGetSavedValue() const -{ - return mnSavedValuePos; -} - - IMPL_LINK_NOARG( SvxLanguageComboBox, EditModifyHdl, Edit&, void ) { EditedAndValid eOldState = meEditedAndValid; diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx index 3a4a98e76853..3eeb76cbc679 100644 --- a/svx/source/engine3d/scene3d.cxx +++ b/svx/source/engine3d/scene3d.cxx @@ -225,11 +225,6 @@ SdrObject* E3dScene::getSdrObjectFromSdrObjList() const return const_cast< E3dScene* >(this); } -SdrModel& E3dScene::getSdrModelFromSdrObjList() const -{ - return getSdrModelFromSdrObject(); -} - SdrObjList* E3dScene::getChildrenOfSdrObject() const { return const_cast< E3dScene* >(this); diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx index e0f85deaad14..fc2a42d71735 100644 --- a/svx/source/svdraw/svdogrp.cxx +++ b/svx/source/svdraw/svdogrp.cxx @@ -85,11 +85,6 @@ SdrObject* SdrObjGroup::getSdrObjectFromSdrObjList() const return const_cast< SdrObjGroup* >(this); } -SdrModel& SdrObjGroup::getSdrModelFromSdrObjList() const -{ - return getSdrModelFromSdrObject(); -} - SdrObjList* SdrObjGroup::getChildrenOfSdrObject() const { return const_cast< SdrObjGroup* >(this); diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index 9f931cafd945..7ce2e18cb546 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -1189,11 +1189,6 @@ SdrPage::~SdrPage() mpSdrPageProperties.reset(); } -SdrModel& SdrPage::getSdrModelFromSdrObjList() const -{ - return getSdrModelFromSdrPage(); -} - void SdrPage::lateInit(const SdrPage& rSrcPage) { assert(!mpViewContact); |