svx/source/table/cellrange.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f05061f91260262e149e2777ac8062f1619758d8
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Jan 20 09:36:28 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Jan 20 09:58:27 2023 +0000

    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 <sberg...@redhat.com>

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 );

Reply via email to