summaryrefslogtreecommitdiff
path: root/include/svx/sxenditm.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-18 17:30:39 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-18 20:41:28 +0100
commit79f4b7a7c462f37ec87ce666334f2435cfde0968 (patch)
tree231cf14ccf57fe711235b0732a1deab3c86524c0 /include/svx/sxenditm.hxx
parent8beea0f6b43b9fe893418687a75d28a6d624ede7 (diff)
svx: SdrEdgeNode1HorzDistItem etc. missing Clone overrides
Change-Id: I2bc2de3c3a71dd54e432905c129a3dbd5395f6ab
Diffstat (limited to 'include/svx/sxenditm.hxx')
-rw-r--r--include/svx/sxenditm.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/sxenditm.hxx b/include/svx/sxenditm.hxx
index 033ecfdbb1d6..87cd2ac397a2 100644
--- a/include/svx/sxenditm.hxx
+++ b/include/svx/sxenditm.hxx
@@ -29,6 +29,7 @@ public:
SdrEdgeNode1HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,rIn) {}
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override;
};
class SVX_DLLPUBLIC SdrEdgeNode1VertDistItem: public SdrMetricItem {
@@ -37,6 +38,7 @@ public:
SdrEdgeNode1VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,rIn) {}
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override;
};
class SVX_DLLPUBLIC SdrEdgeNode2HorzDistItem: public SdrMetricItem {
@@ -45,6 +47,7 @@ public:
SdrEdgeNode2HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,rIn) {}
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override;
};
class SVX_DLLPUBLIC SdrEdgeNode2VertDistItem: public SdrMetricItem {
@@ -53,18 +56,21 @@ public:
SdrEdgeNode2VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,rIn) {}
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override;
};
class SdrEdgeNode1GlueDistItem: public SdrMetricItem {
public:
SdrEdgeNode1GlueDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1GLUEDIST,nVal) {}
SdrEdgeNode1GlueDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1GLUEDIST,rIn) {}
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override;
};
class SdrEdgeNode2GlueDistItem: public SdrMetricItem {
public:
SdrEdgeNode2GlueDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2GLUEDIST,nVal) {}
SdrEdgeNode2GlueDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2GLUEDIST,rIn) {}
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override;
};
#endif