diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 10:14:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 15:50:08 +0200 |
commit | db50f2f094648c9e8fa08eb7e0723003c6ac06e5 (patch) | |
tree | b89a57a521df3a91e436ac6b2dffed92717ebcb6 /writerfilter | |
parent | 10fff25227db4d2161dcc3e498654f6bc499a5b2 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/ooxml/OOXMLPropertySet.cxx | 5 | ||||
-rw-r--r-- | writerfilter/source/ooxml/OOXMLPropertySet.hxx | 2 |
2 files changed, 1 insertions, 6 deletions
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; |