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 /svl | |
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 'svl')
-rw-r--r-- | svl/source/items/style.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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), |