From eb0da37545a5c56017cf7fc73e71acb0ff078036 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 23 Nov 2015 20:38:46 +0000 Subject: crashtesting: ooo55544-2.sxi, etc. missing Clones Change-Id: I3e1b8f78289500bad8013e858f9abf03ab14914a --- include/svx/sxcaitm.hxx | 4 ++++ include/svx/sxcgitm.hxx | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/svx/sxcaitm.hxx b/include/svx/sxcaitm.hxx index 3b56f3504360..05a919a2e2bd 100644 --- a/include/svx/sxcaitm.hxx +++ b/include/svx/sxcaitm.hxx @@ -37,6 +37,10 @@ class SdrCaptionAngleItem: public SdrAngleItem { public: SdrCaptionAngleItem(long nAngle=0): SdrAngleItem(SDRATTR_CAPTIONANGLE,nAngle) {} SdrCaptionAngleItem(SvStream& rIn): SdrAngleItem(SDRATTR_CAPTIONANGLE,rIn) {} + virtual SfxPoolItem* Clone(SfxItemPool*) const override + { + return new SdrCaptionAngleItem(*this); + } }; #endif diff --git a/include/svx/sxcgitm.hxx b/include/svx/sxcgitm.hxx index 57c36be7c615..f56a3d55d82f 100644 --- a/include/svx/sxcgitm.hxx +++ b/include/svx/sxcgitm.hxx @@ -30,6 +30,10 @@ class SdrCaptionGapItem: public SdrMetricItem { public: SdrCaptionGapItem(long nGap=0) : SdrMetricItem(SDRATTR_CAPTIONGAP,nGap) {} SdrCaptionGapItem(SvStream& rIn): SdrMetricItem(SDRATTR_CAPTIONGAP,rIn) {} + virtual SfxPoolItem* Clone(SfxItemPool*) const override + { + return new SdrCaptionGapItem(*this); + } }; #endif -- cgit