cui/source/options/cfgchart.cxx | 6 ------ cui/source/options/cfgchart.hxx | 1 - cui/source/options/optlingu.cxx | 28 ---------------------------- 3 files changed, 35 deletions(-)
New commits: commit 219718868daec643d9483e11acba8666d8c2ed27 Author: Jochen Nitschke <j.nitschke+loger...@ok.de> Date: Wed Dec 27 12:53:30 2017 +0100 clang-tidy-modernize-use-equals-default in cui Change-Id: Ied4f0a548b303aac86052df58f9a81fddeab7b06 Reviewed-on: https://gerrit.libreoffice.org/47086 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx index e03aa756ae3e..901391e1f870 100644 --- a/cui/source/options/cfgchart.cxx +++ b/cui/source/options/cfgchart.cxx @@ -280,12 +280,6 @@ SvxChartColorTableItem::SvxChartColorTableItem( sal_uInt16 nWhich_, const SvxCha { } -SvxChartColorTableItem::SvxChartColorTableItem( const SvxChartColorTableItem& rOther ) : - SfxPoolItem( rOther ), - m_aColorTable( rOther.m_aColorTable ) -{ -} - SfxPoolItem* SvxChartColorTableItem::Clone( SfxItemPool * ) const { return new SvxChartColorTableItem( *this ); diff --git a/cui/source/options/cfgchart.hxx b/cui/source/options/cfgchart.hxx index 1cf007dbce04..171419378576 100644 --- a/cui/source/options/cfgchart.hxx +++ b/cui/source/options/cfgchart.hxx @@ -90,7 +90,6 @@ class SvxChartColorTableItem : public SfxPoolItem { public: SvxChartColorTableItem( sal_uInt16 nWhich, const SvxChartColorTable& ); - SvxChartColorTableItem( const SvxChartColorTableItem& ); virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual bool operator==( const SfxPoolItem& ) const override; diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index b8b80d3000ac..2ca52ee9f9e5 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -473,9 +473,6 @@ class SvxLinguData_Impl public: SvxLinguData_Impl(); - SvxLinguData_Impl( const SvxLinguData_Impl &rData ); - - SvxLinguData_Impl & operator = (const SvxLinguData_Impl &rData); uno::Reference<XLinguServiceManager2> & GetManager() { return xLinguSrvcMgr; } @@ -806,31 +803,6 @@ SvxLinguData_Impl::SvxLinguData_Impl() : } } -SvxLinguData_Impl::SvxLinguData_Impl( const SvxLinguData_Impl &rData ) : - aDisplayServiceArr (rData.aDisplayServiceArr), - nDisplayServices (rData.nDisplayServices), - aAllServiceLocales (rData.aAllServiceLocales), - aCfgSpellTable (rData.aCfgSpellTable), - aCfgHyphTable (rData.aCfgHyphTable), - aCfgThesTable (rData.aCfgThesTable), - aCfgGrammarTable (rData.aCfgGrammarTable), - xLinguSrvcMgr (rData.xLinguSrvcMgr) -{ -} - -SvxLinguData_Impl & SvxLinguData_Impl::operator = (const SvxLinguData_Impl &rData) -{ - xLinguSrvcMgr = rData.xLinguSrvcMgr; - aAllServiceLocales = rData.aAllServiceLocales; - aCfgSpellTable = rData.aCfgSpellTable; - aCfgHyphTable = rData.aCfgHyphTable; - aCfgThesTable = rData.aCfgThesTable; - aCfgGrammarTable = rData.aCfgGrammarTable; - aDisplayServiceArr = rData.aDisplayServiceArr; - nDisplayServices = rData.nDisplayServices; - return *this; -} - void SvxLinguData_Impl::SetChecked(const Sequence<OUString>& rConfiguredServices) { const OUString* pConfiguredServices = rConfiguredServices.getConstArray(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits