summaryrefslogtreecommitdiff
path: root/svx/source/table/cellrange.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-01-20 09:36:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-01-20 09:58:27 +0000
commitf05061f91260262e149e2777ac8062f1619758d8 (patch)
tree21cbaae8212f64a0c16a453c93a739a0dbbba9ca /svx/source/table/cellrange.hxx
parent48e84907845daaf633991f88efb85d93c058a88d (diff)
Base CellRange on WeakImplHelper
...rather than on the deprecated WeakAggImplHelper1. It was found that that class was implementing queryInterface in a way that is incompatible with the XAggregation protocol inherited via WeakAggImplHelper1. It looks like no code actually made use of the XAggregation offered by this class, so the easiest fix for this queryInterface implementation appears to switch from WeakAggImplHelper1 to WeakImplHelper (thereby dropping XAggregation, and thus rendering the existing queryInterface implementation OK). Change-Id: I2352f5a57f2e23e6c7d512ef4d850844149269c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145867 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/source/table/cellrange.hxx')
-rw-r--r--svx/source/table/cellrange.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/cellrange.hxx b/svx/source/table/cellrange.hxx
index 0c3f7a09ab63..1e0aebe5f8e4 100644
--- a/svx/source/table/cellrange.hxx
+++ b/svx/source/table/cellrange.hxx
@@ -21,14 +21,14 @@
#define INCLUDED_SVX_SOURCE_TABLE_CELLRANGE_HXX
#include <com/sun/star/table/XCellRange.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <tablemodel.hxx>
namespace sdr::table {
-class CellRange : public ::cppu::WeakAggImplHelper1< css::table::XCellRange >, public ICellRange
+class CellRange : public ::cppu::WeakImplHelper< css::table::XCellRange >, public ICellRange
{
public:
CellRange( TableModelRef xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom );