summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-08-11 15:10:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-08-12 08:18:17 +0200
commit0f3b36bd2749f360df84d1594c01e619ba0f4930 (patch)
tree6403c75141dec8742b236c830012b12b25f2137d /include
parentf1c3526dee49927f7efb79bef285e3688264ec3f (diff)
clang-tidy bugprone-parent-virtual-call in sfx2
Change-Id: Id1e32a696dd97d1bded467834e5fbd14345d02c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155619 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/sfxbasemodel.hxx21
-rw-r--r--include/sfx2/stbitem.hxx3
2 files changed, 0 insertions, 24 deletions
diff --git a/include/sfx2/sfxbasemodel.hxx b/include/sfx2/sfxbasemodel.hxx
index 2602387fad59..b134b8ac7ea7 100644
--- a/include/sfx2/sfxbasemodel.hxx
+++ b/include/sfx2/sfxbasemodel.hxx
@@ -184,27 +184,6 @@ public:
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override ;
- /**___________________________________________________________________________________________________
- @short increment refcount
- @seealso XInterface
- @seealso release()
- @onerror A RuntimeException is thrown.
- */
-
- virtual void SAL_CALL acquire() noexcept override
- { OWeakObject::acquire(); }
-
- /**___________________________________________________________________________________________________
- @short decrement refcount
- @seealso XInterface
- @seealso acquire()
- @onerror A RuntimeException is thrown.
- */
-
- virtual void SAL_CALL release() noexcept override
- { OWeakObject::release(); }
-
-
// XTypeProvider
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx
index 67c88c68710d..7325ca0959d8 100644
--- a/include/sfx2/stbitem.hxx
+++ b/include/sfx2/stbitem.hxx
@@ -63,9 +63,6 @@ class SFX2_DLLPUBLIC SfxStatusBarControl: public svt::StatusbarController
public:
// new controller API
- // XInterface
- virtual void SAL_CALL acquire() noexcept override;
- virtual void SAL_CALL release() noexcept override;
protected:
// XEventListener