diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-10 09:29:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-11 08:19:00 +0200 |
commit | 27463197176fd7f68cbdeed790621dad6b4c63d3 (patch) | |
tree | c9fe64f7b6d5e30e05f4ff18b5fdf71a05a4ab0a /chart2/source/tools | |
parent | b40e57f403b3d4ccb90f3b76caf8d537b61826dc (diff) |
clang-tidy bugprone-copy-constructor-init
Change-Id: Idd435b3a4d081f6d3af26ff8add69ad4af50db57
warning: calling a base constructor other than the copy constructor
Reviewed-on: https://gerrit.libreoffice.org/60239
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools')
-rw-r--r-- | chart2/source/tools/ErrorBar.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/InternalDataProvider.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/NameContainer.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/RegressionCurveModel.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/RegressionEquation.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/tools/ErrorBar.cxx b/chart2/source/tools/ErrorBar.cxx index e034af78c5fd..645f187cc321 100644 --- a/chart2/source/tools/ErrorBar.cxx +++ b/chart2/source/tools/ErrorBar.cxx @@ -101,7 +101,7 @@ ErrorBar::ErrorBar() : ErrorBar::ErrorBar( const ErrorBar & rOther ) : MutexContainer(), - impl::ErrorBar_Base(), + impl::ErrorBar_Base(rOther), maDashName(rOther.maDashName), maLineDash(rOther.maLineDash), mnLineWidth(rOther.mnLineWidth), diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx index 5a5755c251ad..184e06687407 100644 --- a/chart2/source/tools/InternalDataProvider.cxx +++ b/chart2/source/tools/InternalDataProvider.cxx @@ -405,7 +405,7 @@ InternalDataProvider::InternalDataProvider( // copy-CTOR InternalDataProvider::InternalDataProvider( const InternalDataProvider & rOther ) : - impl::InternalDataProvider_Base(), + impl::InternalDataProvider_Base(rOther), m_aSequenceMap( rOther.m_aSequenceMap ), m_aInternalData( rOther.m_aInternalData ), m_bDataInColumns( rOther.m_bDataInColumns ) diff --git a/chart2/source/tools/NameContainer.cxx b/chart2/source/tools/NameContainer.cxx index cbf128cd4f23..b5e730ba552e 100644 --- a/chart2/source/tools/NameContainer.cxx +++ b/chart2/source/tools/NameContainer.cxx @@ -45,7 +45,7 @@ NameContainer::NameContainer( const css::uno::Type& rType, const OUString& rServ NameContainer::NameContainer( const NameContainer & rOther ) - : impl::NameContainer_Base() + : impl::NameContainer_Base(rOther) , m_aType( rOther.m_aType ) , m_aServicename( rOther.m_aServicename ) , m_aImplementationName( rOther.m_aImplementationName ) diff --git a/chart2/source/tools/RegressionCurveModel.cxx b/chart2/source/tools/RegressionCurveModel.cxx index 6856b071476c..38e92be1285b 100644 --- a/chart2/source/tools/RegressionCurveModel.cxx +++ b/chart2/source/tools/RegressionCurveModel.cxx @@ -186,7 +186,7 @@ RegressionCurveModel::RegressionCurveModel( tCurveType eCurveType ) : RegressionCurveModel::RegressionCurveModel( const RegressionCurveModel & rOther ) : MutexContainer(), - impl::RegressionCurveModel_Base(), + impl::RegressionCurveModel_Base(rOther), ::property::OPropertySet( rOther, m_aMutex ), m_eRegressionCurveType( rOther.m_eRegressionCurveType ), m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder()) diff --git a/chart2/source/tools/RegressionEquation.cxx b/chart2/source/tools/RegressionEquation.cxx index bae6d7a4db8f..d32e0c7aa8c7 100644 --- a/chart2/source/tools/RegressionEquation.cxx +++ b/chart2/source/tools/RegressionEquation.cxx @@ -197,7 +197,7 @@ RegressionEquation::RegressionEquation() : RegressionEquation::RegressionEquation( const RegressionEquation & rOther ) : MutexContainer(), - impl::RegressionEquation_Base(), + impl::RegressionEquation_Base(rOther), ::property::OPropertySet( rOther, m_aMutex ), m_xModifyEventForwarder( new ModifyListenerHelper::ModifyEventForwarder()) {} |