summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-10 09:29:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 08:19:00 +0200
commit27463197176fd7f68cbdeed790621dad6b4c63d3 (patch)
treec9fe64f7b6d5e30e05f4ff18b5fdf71a05a4ab0a
parentb40e57f403b3d4ccb90f3b76caf8d537b61826dc (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>
-rw-r--r--UnoControls/source/base/multiplexer.cxx4
-rw-r--r--chart2/source/model/main/Axis.cxx2
-rw-r--r--chart2/source/model/main/BaseCoordinateSystem.cxx2
-rw-r--r--chart2/source/model/main/ChartModel.cxx2
-rw-r--r--chart2/source/model/main/DataPoint.cxx2
-rw-r--r--chart2/source/model/main/DataSeries.cxx2
-rw-r--r--chart2/source/model/main/Diagram.cxx2
-rw-r--r--chart2/source/model/main/FormattedString.cxx2
-rw-r--r--chart2/source/model/main/GridProperties.cxx2
-rw-r--r--chart2/source/model/main/Legend.cxx2
-rw-r--r--chart2/source/model/main/PageBackground.cxx2
-rw-r--r--chart2/source/model/main/StockBar.cxx2
-rw-r--r--chart2/source/model/main/Title.cxx2
-rw-r--r--chart2/source/model/main/Wall.cxx2
-rw-r--r--chart2/source/model/template/ChartType.cxx2
-rw-r--r--chart2/source/tools/ErrorBar.cxx2
-rw-r--r--chart2/source/tools/InternalDataProvider.cxx2
-rw-r--r--chart2/source/tools/NameContainer.cxx2
-rw-r--r--chart2/source/tools/RegressionCurveModel.cxx2
-rw-r--r--chart2/source/tools/RegressionEquation.cxx2
-rw-r--r--comphelper/source/xml/attributelist.cxx2
-rw-r--r--editeng/source/items/numitem.cxx2
-rw-r--r--oox/source/core/contexthandler.cxx2
-rw-r--r--sc/source/core/tool/rangelst.cxx2
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
-rw-r--r--sd/source/ui/unoidl/randomnode.cxx2
-rw-r--r--svl/source/items/style.cxx4
-rw-r--r--svx/source/items/clipfmtitem.cxx2
-rw-r--r--svx/source/items/viewlayoutitem.cxx2
-rw-r--r--svx/source/xoutdev/xattr2.cxx2
-rw-r--r--sw/source/core/txtnode/atrfld.cxx2
-rw-r--r--sw/source/core/unocore/unochart.cxx2
-rw-r--r--unotools/source/accessibility/accessiblerelationsethelper.cxx2
-rw-r--r--unotools/source/accessibility/accessiblestatesethelper.cxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySet.cxx2
35 files changed, 37 insertions, 37 deletions
diff --git a/UnoControls/source/base/multiplexer.cxx b/UnoControls/source/base/multiplexer.cxx
index 9b9e93a96e5b..e1353add0d80 100644
--- a/UnoControls/source/base/multiplexer.cxx
+++ b/UnoControls/source/base/multiplexer.cxx
@@ -72,7 +72,7 @@ OMRCListenerMultiplexerHelper::OMRCListenerMultiplexerHelper( const Referenc
{
}
-OMRCListenerMultiplexerHelper::OMRCListenerMultiplexerHelper( const OMRCListenerMultiplexerHelper& /*aCopyInstance*/ )
+OMRCListenerMultiplexerHelper::OMRCListenerMultiplexerHelper( const OMRCListenerMultiplexerHelper& aCopyInstance )
: XFocusListener()
, XWindowListener()
, XKeyListener()
@@ -80,7 +80,7 @@ OMRCListenerMultiplexerHelper::OMRCListenerMultiplexerHelper( const OMRCListener
, XMouseMotionListener()
, XPaintListener()
, XTopWindowListener()
- , OWeakObject()
+ , OWeakObject(aCopyInstance)
, m_aListenerHolder ( m_aMutex )
{
}
diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx
index bd9081d6c83e..fe589063dd97 100644
--- a/chart2/source/model/main/Axis.cxx
+++ b/chart2/source/model/main/Axis.cxx
@@ -341,7 +341,7 @@ Axis::Axis() :
Axis::Axis( const Axis & rOther ) :
MutexContainer(),
- impl::Axis_Base(),
+ impl::Axis_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder()),
m_aScaleData( rOther.m_aScaleData )
diff --git a/chart2/source/model/main/BaseCoordinateSystem.cxx b/chart2/source/model/main/BaseCoordinateSystem.cxx
index 1b9bb68cb814..34f497a149fd 100644
--- a/chart2/source/model/main/BaseCoordinateSystem.cxx
+++ b/chart2/source/model/main/BaseCoordinateSystem.cxx
@@ -152,7 +152,7 @@ BaseCoordinateSystem::BaseCoordinateSystem(
// explicit
BaseCoordinateSystem::BaseCoordinateSystem(
const BaseCoordinateSystem & rSource ) :
- impl::BaseCoordinateSystem_Base(),
+ impl::BaseCoordinateSystem_Base(rSource),
MutexContainer(),
::property::OPropertySet( rSource, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder()),
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index 7c689e72de2a..019703701d9e 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -129,7 +129,7 @@ ChartModel::ChartModel(uno::Reference<uno::XComponentContext > const & xContext)
}
ChartModel::ChartModel( const ChartModel & rOther )
- : impl::ChartModel_Base()
+ : impl::ChartModel_Base(rOther)
, m_aLifeTimeManager( this, this )
, m_bReadOnly( rOther.m_bReadOnly )
, m_bModified( rOther.m_bModified )
diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx
index edf9ed675b0c..bfe56b09a19a 100644
--- a/chart2/source/model/main/DataPoint.cxx
+++ b/chart2/source/model/main/DataPoint.cxx
@@ -98,7 +98,7 @@ DataPoint::DataPoint( const uno::Reference< beans::XPropertySet > & rParentPrope
DataPoint::DataPoint( const DataPoint & rOther ) :
MutexContainer(),
- impl::DataPoint_Base(),
+ impl::DataPoint_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder()),
m_bNoParentPropAllowed( true )
diff --git a/chart2/source/model/main/DataSeries.cxx b/chart2/source/model/main/DataSeries.cxx
index fb6a41af87f8..9ef10eb0ae12 100644
--- a/chart2/source/model/main/DataSeries.cxx
+++ b/chart2/source/model/main/DataSeries.cxx
@@ -133,7 +133,7 @@ DataSeries::DataSeries() :
DataSeries::DataSeries( const DataSeries & rOther ) :
MutexContainer(),
- impl::DataSeries_Base(),
+ impl::DataSeries_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{
diff --git a/chart2/source/model/main/Diagram.cxx b/chart2/source/model/main/Diagram.cxx
index 5c3e083b64f9..bc680705783e 100644
--- a/chart2/source/model/main/Diagram.cxx
+++ b/chart2/source/model/main/Diagram.cxx
@@ -302,7 +302,7 @@ Diagram::Diagram( uno::Reference< uno::XComponentContext > const & xContext ) :
Diagram::Diagram( const Diagram & rOther ) :
MutexContainer(),
- impl::Diagram_Base(),
+ impl::Diagram_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xContext( rOther.m_xContext ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
diff --git a/chart2/source/model/main/FormattedString.cxx b/chart2/source/model/main/FormattedString.cxx
index 2a0608a79e08..eb9ded888cd3 100644
--- a/chart2/source/model/main/FormattedString.cxx
+++ b/chart2/source/model/main/FormattedString.cxx
@@ -105,7 +105,7 @@ FormattedString::FormattedString() :
FormattedString::FormattedString( const FormattedString & rOther ) :
MutexContainer(),
- impl::FormattedString_Base(),
+ impl::FormattedString_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_aString( rOther.m_aString ),
m_aType(rOther.m_aType),
diff --git a/chart2/source/model/main/GridProperties.cxx b/chart2/source/model/main/GridProperties.cxx
index 514e1d71e39f..3abd7313267f 100644
--- a/chart2/source/model/main/GridProperties.cxx
+++ b/chart2/source/model/main/GridProperties.cxx
@@ -133,7 +133,7 @@ GridProperties::GridProperties() :
GridProperties::GridProperties( const GridProperties & rOther ) :
MutexContainer(),
- impl::GridProperties_Base(),
+ impl::GridProperties_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{
diff --git a/chart2/source/model/main/Legend.cxx b/chart2/source/model/main/Legend.cxx
index 91dc73363e4c..aa72ddeebd7d 100644
--- a/chart2/source/model/main/Legend.cxx
+++ b/chart2/source/model/main/Legend.cxx
@@ -184,7 +184,7 @@ Legend::Legend() :
Legend::Legend( const Legend & rOther ) :
MutexContainer(),
- impl::Legend_Base(),
+ impl::Legend_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{
diff --git a/chart2/source/model/main/PageBackground.cxx b/chart2/source/model/main/PageBackground.cxx
index fab0fe647300..e7be1dfc30bf 100644
--- a/chart2/source/model/main/PageBackground.cxx
+++ b/chart2/source/model/main/PageBackground.cxx
@@ -119,7 +119,7 @@ PageBackground::PageBackground() :
PageBackground::PageBackground( const PageBackground & rOther ) :
MutexContainer(),
- impl::PageBackground_Base(),
+ impl::PageBackground_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{}
diff --git a/chart2/source/model/main/StockBar.cxx b/chart2/source/model/main/StockBar.cxx
index 2f7a534b23ce..3d3b34bce17c 100644
--- a/chart2/source/model/main/StockBar.cxx
+++ b/chart2/source/model/main/StockBar.cxx
@@ -126,7 +126,7 @@ StockBar::StockBar( bool bRisingCourse ) :
StockBar::StockBar( const StockBar & rOther ) :
MutexContainer(),
- impl::StockBar_Base(),
+ impl::StockBar_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{}
diff --git a/chart2/source/model/main/Title.cxx b/chart2/source/model/main/Title.cxx
index b334dc21f1b4..7ce84c505b50 100644
--- a/chart2/source/model/main/Title.cxx
+++ b/chart2/source/model/main/Title.cxx
@@ -237,7 +237,7 @@ Title::Title() :
Title::Title( const Title & rOther ) :
MutexContainer(),
- impl::Title_Base(),
+ impl::Title_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{
diff --git a/chart2/source/model/main/Wall.cxx b/chart2/source/model/main/Wall.cxx
index 1262e3d214a1..75b8f4bcdb9c 100644
--- a/chart2/source/model/main/Wall.cxx
+++ b/chart2/source/model/main/Wall.cxx
@@ -122,7 +122,7 @@ Wall::Wall() :
Wall::Wall( const Wall & rOther ) :
MutexContainer(),
- impl::Wall_Base(),
+ impl::Wall_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{}
diff --git a/chart2/source/model/template/ChartType.cxx b/chart2/source/model/template/ChartType.cxx
index 7f6863ca8465..c888019e8dc1 100644
--- a/chart2/source/model/template/ChartType.cxx
+++ b/chart2/source/model/template/ChartType.cxx
@@ -48,7 +48,7 @@ ChartType::ChartType() :
ChartType::ChartType( const ChartType & rOther ) :
MutexContainer(),
- impl::ChartType_Base(),
+ impl::ChartType_Base(rOther),
::property::OPropertySet( rOther, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder()),
m_bNotifyChanges( true )
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())
{}
diff --git a/comphelper/source/xml/attributelist.cxx b/comphelper/source/xml/attributelist.cxx
index 4aae17a328b7..6c1578defd8f 100644
--- a/comphelper/source/xml/attributelist.cxx
+++ b/comphelper/source/xml/attributelist.cxx
@@ -103,7 +103,7 @@ AttributeList::AttributeList()
}
AttributeList::AttributeList(const AttributeList &r)
- : cppu::WeakImplHelper<XAttributeList, XCloneable>()
+ : cppu::WeakImplHelper<XAttributeList, XCloneable>(r)
, m_pImpl(new AttributeList_Impl)
{
*m_pImpl = *(r.m_pImpl);
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 61cb873fe1f7..3b636c608aaf 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -911,7 +911,7 @@ SvxNumBulletItem::SvxNumBulletItem(SvxNumRule const & rRule, sal_uInt16 _nWhich
}
SvxNumBulletItem::SvxNumBulletItem(const SvxNumBulletItem& rCopy) :
- SfxPoolItem(rCopy.Which())
+ SfxPoolItem(rCopy)
{
pNumRule.reset( new SvxNumRule(*rCopy.pNumRule) );
}
diff --git a/oox/source/core/contexthandler.cxx b/oox/source/core/contexthandler.cxx
index dfaae8ab792d..f484fa1a8a69 100644
--- a/oox/source/core/contexthandler.cxx
+++ b/oox/source/core/contexthandler.cxx
@@ -28,7 +28,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
ContextHandler::ContextHandler( const ContextHandler& rParent ) :
- ContextHandler_BASE(),
+ ContextHandler_BASE(rParent),
mxBaseData( rParent.mxBaseData )
{
}
diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx
index b20efcf1952b..0b3c832ee492 100644
--- a/sc/source/core/tool/rangelst.cxx
+++ b/sc/source/core/tool/rangelst.cxx
@@ -1001,7 +1001,7 @@ ScRange* ScRangeList::Find( const ScAddress& rAdr )
ScRangeList::ScRangeList() : mnMaxRowUsed(-1) {}
ScRangeList::ScRangeList( const ScRangeList& rList ) :
- SvRefBase(),
+ SvRefBase(rList),
maRanges(rList.maRanges),
mnMaxRowUsed(rList.mnMaxRowUsed)
{
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 5d2c650d062c..1b86afbc8496 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -2805,7 +2805,7 @@ ScDocument* ScDocShell::GetClipDoc()
}
ScDocShell::ScDocShell( const ScDocShell& rShell ) :
- SvRefBase(),
+ SvRefBase(rShell),
SotObject(),
SfxObjectShell( rShell.GetCreateMode() ),
SfxListener(),
diff --git a/sd/source/ui/unoidl/randomnode.cxx b/sd/source/ui/unoidl/randomnode.cxx
index 9ae03e5ac1ae..61f514af10f7 100644
--- a/sd/source/ui/unoidl/randomnode.cxx
+++ b/sd/source/ui/unoidl/randomnode.cxx
@@ -159,7 +159,7 @@ Reference< XInterface > RandomAnimationNode_createInstance( sal_Int16 nPresetCla
}
RandomAnimationNode::RandomAnimationNode( const RandomAnimationNode& rNode )
-: RandomAnimationNodeBase(),
+: RandomAnimationNodeBase(rNode),
mnPresetClass( rNode.mnPresetClass ),
maBegin( rNode.maBegin ),
maDuration( rNode.maDuration ),
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 0ab10a4c7801..53297366aa95 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -119,7 +119,7 @@ SfxStyleSheetBase::SfxStyleSheetBase( const OUString& rName, SfxStyleSheetBasePo
}
SfxStyleSheetBase::SfxStyleSheetBase( const SfxStyleSheetBase& r )
- : comphelper::OWeakTypeObject()
+ : comphelper::OWeakTypeObject(r)
, m_pPool( r.m_pPool )
, nFamily( r.nFamily )
, aName( r.aName )
@@ -573,7 +573,7 @@ SfxStyleSheetBasePool::SfxStyleSheetBasePool( SfxItemPool& r ) :
SfxStyleSheetBasePool::SfxStyleSheetBasePool( const SfxStyleSheetBasePool& r ) :
SfxBroadcaster( r ),
- comphelper::OWeakTypeObject(),
+ comphelper::OWeakTypeObject(r),
pImpl(new SfxStyleSheetBasePool_Impl),
rPool(r.rPool),
nSearchFamily(r.nSearchFamily),
diff --git a/svx/source/items/clipfmtitem.cxx b/svx/source/items/clipfmtitem.cxx
index c7c0f4968a6e..0a6df479f980 100644
--- a/svx/source/items/clipfmtitem.cxx
+++ b/svx/source/items/clipfmtitem.cxx
@@ -40,7 +40,7 @@ SvxClipboardFormatItem::SvxClipboardFormatItem( sal_uInt16 nId )
}
SvxClipboardFormatItem::SvxClipboardFormatItem( const SvxClipboardFormatItem& rCpy )
- : SfxPoolItem( rCpy.Which() ),
+ : SfxPoolItem( rCpy ),
pImpl( new SvxClipboardFormatItem_Impl( *rCpy.pImpl ) )
{
}
diff --git a/svx/source/items/viewlayoutitem.cxx b/svx/source/items/viewlayoutitem.cxx
index 95f749d9bcb2..6578a1cea898 100644
--- a/svx/source/items/viewlayoutitem.cxx
+++ b/svx/source/items/viewlayoutitem.cxx
@@ -46,7 +46,7 @@ SvxViewLayoutItem::SvxViewLayoutItem
SvxViewLayoutItem::SvxViewLayoutItem( const SvxViewLayoutItem& rOrig )
-: SfxUInt16Item( rOrig.Which(), rOrig.GetValue() ),
+: SfxUInt16Item( rOrig ),
mbBookMode( rOrig.IsBookMode() )
{
}
diff --git a/svx/source/xoutdev/xattr2.cxx b/svx/source/xoutdev/xattr2.cxx
index 0dd56a73f7fc..c8dc42be2a1c 100644
--- a/svx/source/xoutdev/xattr2.cxx
+++ b/svx/source/xoutdev/xattr2.cxx
@@ -178,7 +178,7 @@ AffineMatrixItem::AffineMatrixItem(const css::geometry::AffineMatrix2D* pMatrix)
}
AffineMatrixItem::AffineMatrixItem(const AffineMatrixItem& rRef)
-: SfxPoolItem(SID_ATTR_TRANSFORM_MATRIX)
+: SfxPoolItem(rRef)
{
maMatrix = rRef.maMatrix;
}
diff --git a/sw/source/core/txtnode/atrfld.cxx b/sw/source/core/txtnode/atrfld.cxx
index dcd6258a204b..94ec40766b00 100644
--- a/sw/source/core/txtnode/atrfld.cxx
+++ b/sw/source/core/txtnode/atrfld.cxx
@@ -83,7 +83,7 @@ SwFormatField::SwFormatField( const SwField &rField )
// full pool range, all items need to be clonable. Thus, this one needed to be
// corrected
SwFormatField::SwFormatField( const SwFormatField& rAttr )
- : SfxPoolItem( RES_TXTATR_FIELD )
+ : SfxPoolItem( rAttr )
, SwModify(nullptr)
, SfxBroadcaster()
, mpField( nullptr )
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 89d331952654..675499349fa2 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -1863,7 +1863,7 @@ SwChartDataSequence::SwChartDataSequence(
}
SwChartDataSequence::SwChartDataSequence( const SwChartDataSequence &rObj ) :
- SwChartDataSequenceBaseClass(),
+ SwChartDataSequenceBaseClass(rObj),
SwClient( rObj.GetFrameFormat() ),
m_aEvtListeners( GetChartMutex() ),
m_aModifyListeners( GetChartMutex() ),
diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx
index 697cbd8b2608..f50d641e87ea 100644
--- a/unotools/source/accessibility/accessiblerelationsethelper.cxx
+++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx
@@ -117,7 +117,7 @@ AccessibleRelationSetHelper::AccessibleRelationSetHelper ()
}
AccessibleRelationSetHelper::AccessibleRelationSetHelper (const AccessibleRelationSetHelper& rHelper)
- : cppu::WeakImplHelper<XAccessibleRelationSet>()
+ : cppu::WeakImplHelper<XAccessibleRelationSet>(rHelper)
{
if (rHelper.mpHelperImpl)
mpHelperImpl.reset(new AccessibleRelationSetHelperImpl(*rHelper.mpHelperImpl));
diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx
index 480ae0ab274b..fc867063c82d 100644
--- a/unotools/source/accessibility/accessiblestatesethelper.cxx
+++ b/unotools/source/accessibility/accessiblestatesethelper.cxx
@@ -126,7 +126,7 @@ AccessibleStateSetHelper::AccessibleStateSetHelper ( const sal_Int64 _nInitialSt
}
AccessibleStateSetHelper::AccessibleStateSetHelper (const AccessibleStateSetHelper& rHelper)
- : cppu::WeakImplHelper<XAccessibleStateSet>()
+ : cppu::WeakImplHelper<XAccessibleStateSet>(rHelper)
{
if (rHelper.mpHelperImpl)
mpHelperImpl.reset(new AccessibleStateSetHelperImpl(*rHelper.mpHelperImpl));
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.cxx b/writerfilter/source/ooxml/OOXMLPropertySet.cxx
index 79b53849c054..14a14e6f6178 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.cxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.cxx
@@ -39,7 +39,7 @@ OOXMLProperty::OOXMLProperty(Id id, const OOXMLValue::Pointer_t& pValue,
}
OOXMLProperty::OOXMLProperty(const OOXMLProperty & rSprm)
-: SvRefBase(), mId(rSprm.mId), mpValue(rSprm.mpValue), meType(rSprm.meType)
+: SvRefBase(rSprm), mId(rSprm.mId), mpValue(rSprm.mpValue), meType(rSprm.meType)
{
}