[Libreoffice-commits] core.git: include/svx
Caolán McNamara
caolanm at redhat.com
Mon Nov 23 12:39:31 PST 2015
include/svx/sxcaitm.hxx | 4 ++++
include/svx/sxcgitm.hxx | 4 ++++
2 files changed, 8 insertions(+)
New commits:
commit eb0da37545a5c56017cf7fc73e71acb0ff078036
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Nov 23 20:38:46 2015 +0000
crashtesting: ooo55544-2.sxi, etc. missing Clones
Change-Id: I3e1b8f78289500bad8013e858f9abf03ab14914a
diff --git a/include/svx/sxcaitm.hxx b/include/svx/sxcaitm.hxx
index 3b56f35..05a919a 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 57c36be..f56a3d5 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
More information about the Libreoffice-commits
mailing list