diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-20 16:52:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-21 07:16:46 +0100 |
commit | 4a08d20ee58a6ade7dce58e45432cde73d9eb7b8 (patch) | |
tree | c5d3d0901d9eae7157732445c7565f9b89ae63fb /svtools | |
parent | 285d275816e58798a0a830f356cc76ef5ef506e1 (diff) |
loplugin:unusedmethods
Change-Id: I2194158d555958f0192d8d6c18e4c093608b8fb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89119
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueacc.cxx | 20 | ||||
-rw-r--r-- | svtools/source/control/valueimp.hxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/imagemgr.cxx | 7 |
3 files changed, 0 insertions, 29 deletions
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index cb7e3b92f432..3f16bc926c23 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -703,26 +703,6 @@ ValueItemAcc::~ValueItemAcc() { } -void ValueItemAcc::FireAccessibleEvent( short nEventId, const uno::Any& rOldValue, const uno::Any& rNewValue ) -{ - if( !nEventId ) - return; - - ::std::vector< uno::Reference< accessibility::XAccessibleEventListener > > aTmpListeners( mxEventListeners ); - accessibility::AccessibleEventObject aEvtObject; - - aEvtObject.EventId = nEventId; - aEvtObject.Source = static_cast<uno::XWeak*>(this); - aEvtObject.NewValue = rNewValue; - aEvtObject.OldValue = rOldValue; - - for (auto const& tmpListener : aTmpListeners) - { - tmpListener->notifyEvent( aEvtObject ); - } -} - - void ValueItemAcc::ParentDestroyed() { const ::osl::MutexGuard aGuard( maMutex ); diff --git a/svtools/source/control/valueimp.hxx b/svtools/source/control/valueimp.hxx index af9a35508155..39d0a86b568b 100644 --- a/svtools/source/control/valueimp.hxx +++ b/svtools/source/control/valueimp.hxx @@ -344,8 +344,6 @@ public: void ParentDestroyed(); - void FireAccessibleEvent( short nEventId, const css::uno::Any& rOldValue, const css::uno::Any& rNewValue ); - static ValueItemAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) throw(); public: diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx index 0a36573bb9b5..1e089ff59fc7 100644 --- a/svtools/source/misc/imagemgr.cxx +++ b/svtools/source/misc/imagemgr.cxx @@ -778,13 +778,6 @@ OUString SvFileInformationManager::GetFileImageId(const INetURLObject& rObject) return GetImageNameFromList_Impl(nImage, /*bBig*/false); } -Image SvFileInformationManager::GetFileImage( const INetURLObject& rObject ) -{ - SvImageId nImage = GetImageId_Impl( rObject, false ); - DBG_ASSERT( nImage != SvImageId::NONE, "invalid ImageId" ); - return GetImageFromList_Impl( nImage, false/*bBig*/ ); -} - Image SvFileInformationManager::GetImageNoDefault(const INetURLObject& rObject, bool bBig, Size const & rPreferredSize) { SvImageId nImage = GetImageId_Impl(rObject, true); |