summaryrefslogtreecommitdiff
path: root/svx/source/items/clipfmtitem.cxx
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 /svx/source/items/clipfmtitem.cxx
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 'svx/source/items/clipfmtitem.cxx')
-rw-r--r--svx/source/items/clipfmtitem.cxx2
1 files changed, 1 insertions, 1 deletions
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 ) )
{
}