From d19609e118ee0bfb823945582e823d02bdaa7134 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 1 Sep 2014 15:40:39 +0200 Subject: Missing Clone overrides Change-Id: I0dda3dc849fce9ba994baa82f7e25497ea995c75 --- svx/source/engine3d/svx3ditems.cxx | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'svx') diff --git a/svx/source/engine3d/svx3ditems.cxx b/svx/source/engine3d/svx3ditems.cxx index 4242a0b25e10..a50e64eba151 100644 --- a/svx/source/engine3d/svx3ditems.cxx +++ b/svx/source/engine3d/svx3ditems.cxx @@ -56,7 +56,10 @@ SfxPoolItem* Svx3DReducedLineGeometryItem::Create(SvStream& rIn, sal_uInt16 nIte return pRetval; } - +SfxPoolItem * Svx3DReducedLineGeometryItem::Clone(SfxItemPool *) const +{ + return new Svx3DReducedLineGeometryItem(*this); +} Svx3DNormalsKindItem::Svx3DNormalsKindItem(sal_uInt16 nVal) : SfxUInt16Item(SDRATTR_3DOBJ_NORMALS_KIND, nVal) @@ -191,6 +194,10 @@ SfxPoolItem* Svx3DSmoothNormalsItem::Create(SvStream& rIn, sal_uInt16 nItemVersi return pRetval; } +SfxPoolItem * Svx3DSmoothNormalsItem::Clone(SfxItemPool *) const +{ + return new Svx3DSmoothNormalsItem(*this); +} // #107245# @@ -216,6 +223,10 @@ SfxPoolItem* Svx3DSmoothLidsItem::Create(SvStream& rIn, sal_uInt16 nItemVersion) return pRetval; } +SfxPoolItem * Svx3DSmoothLidsItem::Clone(SfxItemPool *) const +{ + return new Svx3DSmoothLidsItem(*this); +} // #107245# @@ -241,6 +252,10 @@ SfxPoolItem* Svx3DCharacterModeItem::Create(SvStream& rIn, sal_uInt16 nItemVersi return pRetval; } +SfxPoolItem * Svx3DCharacterModeItem::Clone(SfxItemPool *) const +{ + return new Svx3DCharacterModeItem(*this); +} // #107245# @@ -266,6 +281,10 @@ SfxPoolItem* Svx3DCloseFrontItem::Create(SvStream& rIn, sal_uInt16 nItemVersion) return pRetval; } +SfxPoolItem * Svx3DCloseFrontItem::Clone(SfxItemPool *) const +{ + return new Svx3DCloseFrontItem(*this); +} // #107245# @@ -291,7 +310,10 @@ SfxPoolItem* Svx3DCloseBackItem::Create(SvStream& rIn, sal_uInt16 nItemVersion) return pRetval; } - +SfxPoolItem * Svx3DCloseBackItem::Clone(SfxItemPool *) const +{ + return new Svx3DCloseBackItem(*this); +} // Svx3DNormalsKindItem: use drawing::NormalsKind bool Svx3DNormalsKindItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const -- cgit