diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-13 12:40:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-13 13:28:16 +0200 |
commit | 747a9838ee53a4d2c005729419047b1ffde0db70 (patch) | |
tree | d32ab5e5b6a079e1bf2b1e7ccb012242f48b1316 /sfx2/source/control | |
parent | 32d2e001bb056e7d98aa143b222f2721967337dc (diff) |
loplugin:unusedmethods
Change-Id: I00f228451574ca9f9e352d233c7f326c88e90a95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156892
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/control')
-rw-r--r-- | sfx2/source/control/thumbnailviewacc.cxx | 12 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailviewacc.hxx | 4 |
2 files changed, 0 insertions, 16 deletions
diff --git a/sfx2/source/control/thumbnailviewacc.cxx b/sfx2/source/control/thumbnailviewacc.cxx index 54a3af71fb93..ac1e320be25b 100644 --- a/sfx2/source/control/thumbnailviewacc.cxx +++ b/sfx2/source/control/thumbnailviewacc.cxx @@ -44,12 +44,6 @@ ThumbnailViewAcc::~ThumbnailViewAcc() { } -ThumbnailViewAcc* ThumbnailViewAcc::getImplementation( const uno::Reference< uno::XInterface >& rxData ) - noexcept -{ - return dynamic_cast<ThumbnailViewAcc*>(rxData.get()); -} - uno::Reference< accessibility::XAccessibleContext > SAL_CALL ThumbnailViewAcc::getAccessibleContext() { ThrowIfDisposed(); @@ -539,12 +533,6 @@ void ThumbnailViewAcc::FireAccessibleEvent( short nEventId, const uno::Any& rOld } } -ThumbnailViewItemAcc* ThumbnailViewItemAcc::getImplementation( const uno::Reference< uno::XInterface >& rxData ) - noexcept -{ - return dynamic_cast<ThumbnailViewItemAcc*>(rxData.get()); -} - void ThumbnailViewAcc::GetFocus() { // Broadcast the state change. diff --git a/sfx2/source/control/thumbnailviewacc.hxx b/sfx2/source/control/thumbnailviewacc.hxx index 1fcf9d3ac9a6..63ea533009ad 100644 --- a/sfx2/source/control/thumbnailviewacc.hxx +++ b/sfx2/source/control/thumbnailviewacc.hxx @@ -56,8 +56,6 @@ public: bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } - static ThumbnailViewAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) noexcept; - public: /** Called by the corresponding ValueSet when it gets the focus. Stores the new focus state and broadcasts a state change event. @@ -164,8 +162,6 @@ public: void ParentDestroyed(); - static ThumbnailViewItemAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) noexcept; - public: // XAccessible |