diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-01 15:40:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-01 15:40:39 +0200 |
commit | d19609e118ee0bfb823945582e823d02bdaa7134 (patch) | |
tree | 96e8292eb268d6a6e549925c8bd006ad578aa053 | |
parent | e62ec6d0499e6c517713e7d5b1855a9b2c518219 (diff) |
Missing Clone overrides
Change-Id: I0dda3dc849fce9ba994baa82f7e25497ea995c75
-rw-r--r-- | include/svx/svx3ditems.hxx | 6 | ||||
-rw-r--r-- | svx/source/engine3d/svx3ditems.cxx | 26 |
2 files changed, 30 insertions, 2 deletions
diff --git a/include/svx/svx3ditems.hxx b/include/svx/svx3ditems.hxx index eb34a5ec8c09..10e1334146e6 100644 --- a/include/svx/svx3ditems.hxx +++ b/include/svx/svx3ditems.hxx @@ -65,6 +65,7 @@ public: Svx3DReducedLineGeometryItem(bool bVal = false); virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE; + SfxPoolItem * Clone(SfxItemPool *) const SAL_OVERRIDE; }; class SVX_DLLPUBLIC Svx3DNormalsKindItem : public SfxUInt16Item { @@ -309,6 +310,7 @@ public: Svx3DSmoothNormalsItem(bool bVal = true); virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE; + SfxPoolItem * Clone(SfxItemPool *) const SAL_OVERRIDE; }; // #107245# Item to replace bExtrudeSmoothFrontBack and bLatheSmoothFrontBack @@ -317,6 +319,7 @@ public: Svx3DSmoothLidsItem(bool bVal = false); virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE; + SfxPoolItem * Clone(SfxItemPool *) const SAL_OVERRIDE; }; // #107245# Item to replace bExtrudeCharacterMode and bLatheCharacterMode @@ -325,6 +328,7 @@ public: Svx3DCharacterModeItem(bool bVal = false); virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE; + SfxPoolItem * Clone(SfxItemPool *) const SAL_OVERRIDE; }; // #107245# Item to replace bExtrudeCloseFront and bLatheCloseFront @@ -333,6 +337,7 @@ public: Svx3DCloseFrontItem(bool bVal = true); SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE; + SfxPoolItem * Clone(SfxItemPool *) const SAL_OVERRIDE; }; // #107245# Item to replace bExtrudeCloseBack and bLatheCloseBack @@ -341,6 +346,7 @@ public: Svx3DCloseBackItem(bool bVal = true); SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE; + SfxPoolItem * Clone(SfxItemPool *) const SAL_OVERRIDE; }; #endif // INCLUDED_SVX_SVX3DITEMS_HXX 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 |