From 27463197176fd7f68cbdeed790621dad6b4c63d3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 10 Sep 2018 09:29:12 +0200 Subject: 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 --- svl/source/items/style.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svl') 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), -- cgit