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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-text.cxx | 8 | ||||
-rw-r--r-- | sd/source/filter/eppt/text.hxx | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx index 71d05d0910cd..c6c538437ee8 100644 --- a/sd/source/filter/eppt/pptx-text.cxx +++ b/sd/source/filter/eppt/pptx-text.cxx @@ -737,14 +737,6 @@ ParagraphObj::ParagraphObj(css::uno::Reference< css::text::XTextContent > const } } -ParagraphObj::ParagraphObj( const ParagraphObj& rObj ) -: PropStateValue() -, SOParagraph() -, mvPortions() -{ - ImplConstruct( rObj ); -} - ParagraphObj::~ParagraphObj() { ImplClear(); diff --git a/sd/source/filter/eppt/text.hxx b/sd/source/filter/eppt/text.hxx index 0928e9b72dba..7de5741c87ec 100644 --- a/sd/source/filter/eppt/text.hxx +++ b/sd/source/filter/eppt/text.hxx @@ -214,7 +214,7 @@ class ParagraphObj : public PropStateValue, public SOParagraph ParagraphObj( css::uno::Reference< css::text::XTextContent > const & rXTextContentRef, ParaFlags, FontCollection& rFontCollection, PPTExBulletProvider& rBuProv ); - ParagraphObj( const ParagraphObj& rParargraphObj ); + ParagraphObj( const ParagraphObj& rParargraphObj ) = delete; ParagraphObj( const css::uno::Reference< css::beans::XPropertySet > & rXPropSetRef, PPTExBulletProvider* pBuProv ); |