From db50f2f094648c9e8fa08eb7e0723003c6ac06e5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 15 Oct 2018 10:14:15 +0200 Subject: clang-tidy bugprone-copy-constructor-init message is "calling a base constructor other than the copy constructor" these constructors are not in use, so just remove them Change-Id: Ic8cede1eb153a6ae97fd1ca9c96ca8c1f43e3399 Reviewed-on: https://gerrit.libreoffice.org/61784 Tested-by: Jenkins Reviewed-by: Noel Grandin --- writerfilter/source/ooxml/OOXMLPropertySet.cxx | 5 ----- writerfilter/source/ooxml/OOXMLPropertySet.hxx | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'writerfilter/source') diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.cxx b/writerfilter/source/ooxml/OOXMLPropertySet.cxx index bf9f966ecd24..c4ca1de9f6d1 100644 --- a/writerfilter/source/ooxml/OOXMLPropertySet.cxx +++ b/writerfilter/source/ooxml/OOXMLPropertySet.cxx @@ -38,11 +38,6 @@ OOXMLProperty::OOXMLProperty(Id id, const OOXMLValue::Pointer_t& pValue, { } -OOXMLProperty::OOXMLProperty(const OOXMLProperty & rSprm) -: SvRefBase(rSprm), mId(rSprm.mId), mpValue(rSprm.mpValue), meType(rSprm.meType) -{ -} - OOXMLProperty::~OOXMLProperty() { } diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.hxx b/writerfilter/source/ooxml/OOXMLPropertySet.hxx index 3628ab6696c6..39480c78d004 100644 --- a/writerfilter/source/ooxml/OOXMLPropertySet.hxx +++ b/writerfilter/source/ooxml/OOXMLPropertySet.hxx @@ -64,7 +64,7 @@ private: public: OOXMLProperty(Id id, const OOXMLValue::Pointer_t& pValue, Type_t eType); - OOXMLProperty(const OOXMLProperty & rSprm); + OOXMLProperty(const OOXMLProperty & rSprm) = delete; virtual ~OOXMLProperty() override; sal_uInt32 getId() const override; -- cgit v1.2.3