From 02b2dce99c50d2f48de454a5aba1defc7f67ac78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 2 Dec 2024 12:14:06 +0000 Subject: [PATCH] cid#1636522 Missing move assignment operator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2d5f4e69b5cb9205743484c23443df2084da4fad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177721 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- filter/source/msfilter/svdfppt.cxx | 18 ------------------ include/filter/msfilter/svdfppt.hxx | 7 +------ 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 472a1e106f40..20d3e5d9bc96 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -4413,24 +4413,6 @@ PPTParaPropSet::PPTParaPropSet() mxParaSet->mnHasAnm = 1; } -PPTParaPropSet::PPTParaPropSet( PPTParaPropSet const & rParaPropSet ) -{ - mxParaSet = rParaPropSet.mxParaSet; -} - -PPTParaPropSet::~PPTParaPropSet() -{ -} - -PPTParaPropSet& PPTParaPropSet::operator=( const PPTParaPropSet& rParaPropSet ) -{ - if ( this != &rParaPropSet ) - { - mxParaSet = rParaPropSet.mxParaSet; - } - return *this; -} - PPTCharPropSet::PPTCharPropSet(sal_uInt32 nParagraph) : mnOriginalTextPos(0) , mnParagraph(nParagraph) diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index 094c22a5918f..f1dfa6332c7e 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -904,12 +904,7 @@ struct ImplPPTParaPropSet final : public salhelper::SimpleReferenceObject struct PPTParaPropSet { rtl::Reference mxParaSet; - - PPTParaPropSet(); - PPTParaPropSet( PPTParaPropSet const & rParaPropSet ); - ~PPTParaPropSet(); - - PPTParaPropSet& operator=( const PPTParaPropSet& rParaPropSet ); + PPTParaPropSet(); }; struct ImplPPTCharPropSet