Kaydet (Commit) 21971886 authored tarafından Jochen Nitschke's avatar Jochen Nitschke Kaydeden (comit) Noel Grandin

clang-tidy-modernize-use-equals-default in cui

Change-Id: Ied4f0a548b303aac86052df58f9a81fddeab7b06
Reviewed-on: https://gerrit.libreoffice.org/47086Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst ab5d6166
......@@ -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 );
......
......@@ -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;
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment