diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/sxcaitm.hxx | 4 | ||||
-rw-r--r-- | include/svx/sxcgitm.hxx | 4 |
2 files changed, 8 insertions, 0 deletions
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 |