summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-06 11:09:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-06 11:10:03 +0200
commit596ec6f52fe3a8d56d5c20df568633cfbcadc74d (patch)
treec42eb23672be6d1fc4e9bb28b598e1bf6b1866f0
parent4a93e2d99cd6b9ce554bc97ed2539d124b894c7b (diff)
Missing SdrEdgeLine1DeltaItem::Clone override
Change-Id: Id0fde0a76fbcb63c13c943a0caec0d715886f039
-rw-r--r--include/svx/sxelditm.hxx1
-rw-r--r--svx/source/svdraw/svdattr.cxx5
2 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/sxelditm.hxx b/include/svx/sxelditm.hxx
index 27f7122eb5ec..570935012124 100644
--- a/include/svx/sxelditm.hxx
+++ b/include/svx/sxelditm.hxx
@@ -33,6 +33,7 @@ class SVX_DLLPUBLIC SdrEdgeLine1DeltaItem: public SdrMetricItem {
public:
SdrEdgeLine1DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE1DELTA,nVal) {}
SdrEdgeLine1DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE1DELTA,rIn) {}
+ virtual SfxPoolItem * Clone(SfxItemPool *) const SAL_OVERRIDE;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
};
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index acb47d95794e..aee5b80239db 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -1747,6 +1747,11 @@ bool SdrEdgeNode2VertDistItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemb
return true;
}
+SfxPoolItem * SdrEdgeLine1DeltaItem::Clone(SfxItemPool *) const
+{
+ return new SdrEdgeLine1DeltaItem(*this);
+}
+
bool SdrEdgeLine1DeltaItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetValue();