From 596ec6f52fe3a8d56d5c20df568633cfbcadc74d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 6 Aug 2014 11:09:47 +0200 Subject: Missing SdrEdgeLine1DeltaItem::Clone override Change-Id: Id0fde0a76fbcb63c13c943a0caec0d715886f039 --- include/svx/sxelditm.hxx | 1 + svx/source/svdraw/svdattr.cxx | 5 +++++ 2 files changed, 6 insertions(+) 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(); -- cgit