diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-12 17:01:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-14 11:22:49 +0200 |
commit | 3a2176ae256643a3b8c42bca33d333aecad61d19 (patch) | |
tree | 1a67f920f34141ffe485cedf5bcec74b9f878bbf /svx/source/table/cell.cxx | |
parent | 58cb4fc7d17ae5b339c5ed6ae139e6ef2433c927 (diff) |
new loplugin refcountingbase
Look for classes that have more than one ref-counting base class.
A situation which is going to cause trouble.
Which reveals that sdr::table::Cell has two different ref-counting bases,
so rather make SdrText extends OWeakObject, which means
that Cell can just have one ref-counting base,
Change-Id: I8d968270f7b449cff2f29da0bd48fa17181c68c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139807
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/table/cell.cxx')
-rw-r--r-- | svx/source/table/cell.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 9922952fc780..a358865334d9 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -866,13 +866,13 @@ Any SAL_CALL Cell::queryInterface( const Type & rType ) void SAL_CALL Cell::acquire() noexcept { - ::cppu::OWeakObject::acquire(); + SdrText::acquire(); } void SAL_CALL Cell::release() noexcept { - ::cppu::OWeakObject::release(); + SdrText::release(); } |