include/svx/sxelditm.hxx | 1 + svx/source/svdraw/svdattr.cxx | 5 +++++ 2 files changed, 6 insertions(+)
New commits: commit 596ec6f52fe3a8d56d5c20df568633cfbcadc74d Author: Stephan Bergmann <[email protected]> Date: Wed Aug 6 11:09:47 2014 +0200 Missing SdrEdgeLine1DeltaItem::Clone override Change-Id: Id0fde0a76fbcb63c13c943a0caec0d715886f039 diff --git a/include/svx/sxelditm.hxx b/include/svx/sxelditm.hxx index 27f7122..5709350 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 acb47d9..aee5b80 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(); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
