summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-12-27 12:53:30 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-27 17:08:03 +0100
commit219718868daec643d9483e11acba8666d8c2ed27 (patch)
treed00815ea0b3b512de5432ad36cd8a5766a052202 /cui
parentab5d6166beca20503cd57b8707b814305f92267a (diff)
clang-tidy-modernize-use-equals-default in cui
Change-Id: Ied4f0a548b303aac86052df58f9a81fddeab7b06 Reviewed-on: https://gerrit.libreoffice.org/47086 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/cfgchart.cxx6
-rw-r--r--cui/source/options/cfgchart.hxx1
-rw-r--r--cui/source/options/optlingu.cxx28
3 files changed, 0 insertions, 35 deletions
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();