summaryrefslogtreecommitdiff
path: root/editeng
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 /editeng
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>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/numitem.cxx2
1 files changed, 1 insertions, 1 deletions
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) );
}