diff options
author | Noel Grandin <noel@peralex.com> | 2021-03-19 15:37:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-20 07:47:23 +0100 |
commit | e8f9830f48ba08b3b949d8b0fd1d33aad0f5b0e9 (patch) | |
tree | 2c0cb906a79adf1eabf10234092ff7def1c00177 | |
parent | 43f4769ae537310a6fe6a1edfbc6687cc26fd996 (diff) |
SvxShape: no need to inherit from WeakAggImplHelper1 twice
once here, and once in one of the superclasses
Change-Id: I0396012b613f195783ef8c7eae38f29120007381
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112744
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/svx/unoshape.hxx | 7 | ||||
-rw-r--r-- | svx/source/unodraw/unoshap2.cxx | 5 |
2 files changed, 1 insertions, 11 deletions
diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx index dc0d94a80f9c..844c2aac23bb 100644 --- a/include/svx/unoshape.hxx +++ b/include/svx/unoshape.hxx @@ -794,11 +794,7 @@ public: /*********************************************************************** * * ***********************************************************************/ -typedef ::cppu::WeakAggImplHelper1< - css::drawing::XEnhancedCustomShapeDefaulter - > SvxShape_UnoImplHelper1; - -class SVXCORE_DLLPUBLIC SvxCustomShape final : public SvxShapeText, public SvxShape_UnoImplHelper1 +class SVXCORE_DLLPUBLIC SvxCustomShape final : public SvxShapeText, public css::drawing::XEnhancedCustomShapeDefaulter { protected: using SvxUnoTextRangeBase::setPropertyValue; @@ -827,7 +823,6 @@ public: void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override; // XTypeProvider - virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override; virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override; //XEnhancedCustomShapeDefaulter diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index 2c4487b4cec6..56d1c1569479 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -1582,11 +1582,6 @@ uno::Any SAL_CALL SvxCustomShape::queryAggregation( const uno::Type & rType ) return aReturn; } -uno::Sequence< uno::Type > SAL_CALL SvxCustomShape::getTypes() -{ - return SvxShapeText::getTypes(); -} - uno::Sequence< sal_Int8 > SAL_CALL SvxCustomShape::getImplementationId() { return css::uno::Sequence<sal_Int8>(); |