summaryrefslogtreecommitdiff
path: root/include/svx/sxcgitm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/sxcgitm.hxx')
-rw-r--r--include/svx/sxcgitm.hxx4
1 files changed, 4 insertions, 0 deletions
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