Kaydet (Commit) d19609e1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Missing Clone overrides

Change-Id: I0dda3dc849fce9ba994baa82f7e25497ea995c75
üst e62ec6d0
...@@ -65,6 +65,7 @@ public: ...@@ -65,6 +65,7 @@ public:
Svx3DReducedLineGeometryItem(bool bVal = false); Svx3DReducedLineGeometryItem(bool bVal = false);
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) 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 { class SVX_DLLPUBLIC Svx3DNormalsKindItem : public SfxUInt16Item {
...@@ -309,6 +310,7 @@ public: ...@@ -309,6 +310,7 @@ public:
Svx3DSmoothNormalsItem(bool bVal = true); Svx3DSmoothNormalsItem(bool bVal = true);
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) 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 // #107245# Item to replace bExtrudeSmoothFrontBack and bLatheSmoothFrontBack
...@@ -317,6 +319,7 @@ public: ...@@ -317,6 +319,7 @@ public:
Svx3DSmoothLidsItem(bool bVal = false); Svx3DSmoothLidsItem(bool bVal = false);
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) 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 // #107245# Item to replace bExtrudeCharacterMode and bLatheCharacterMode
...@@ -325,6 +328,7 @@ public: ...@@ -325,6 +328,7 @@ public:
Svx3DCharacterModeItem(bool bVal = false); Svx3DCharacterModeItem(bool bVal = false);
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) 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 // #107245# Item to replace bExtrudeCloseFront and bLatheCloseFront
...@@ -333,6 +337,7 @@ public: ...@@ -333,6 +337,7 @@ public:
Svx3DCloseFrontItem(bool bVal = true); Svx3DCloseFrontItem(bool bVal = true);
SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; 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; 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 // #107245# Item to replace bExtrudeCloseBack and bLatheCloseBack
...@@ -341,6 +346,7 @@ public: ...@@ -341,6 +346,7 @@ public:
Svx3DCloseBackItem(bool bVal = true); Svx3DCloseBackItem(bool bVal = true);
SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE; 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; SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE;
SfxPoolItem * Clone(SfxItemPool *) const SAL_OVERRIDE;
}; };
#endif // INCLUDED_SVX_SVX3DITEMS_HXX #endif // INCLUDED_SVX_SVX3DITEMS_HXX
......
...@@ -56,7 +56,10 @@ SfxPoolItem* Svx3DReducedLineGeometryItem::Create(SvStream& rIn, sal_uInt16 nIte ...@@ -56,7 +56,10 @@ SfxPoolItem* Svx3DReducedLineGeometryItem::Create(SvStream& rIn, sal_uInt16 nIte
return pRetval; return pRetval;
} }
SfxPoolItem * Svx3DReducedLineGeometryItem::Clone(SfxItemPool *) const
{
return new Svx3DReducedLineGeometryItem(*this);
}
Svx3DNormalsKindItem::Svx3DNormalsKindItem(sal_uInt16 nVal) Svx3DNormalsKindItem::Svx3DNormalsKindItem(sal_uInt16 nVal)
: SfxUInt16Item(SDRATTR_3DOBJ_NORMALS_KIND, nVal) : SfxUInt16Item(SDRATTR_3DOBJ_NORMALS_KIND, nVal)
...@@ -191,6 +194,10 @@ SfxPoolItem* Svx3DSmoothNormalsItem::Create(SvStream& rIn, sal_uInt16 nItemVersi ...@@ -191,6 +194,10 @@ SfxPoolItem* Svx3DSmoothNormalsItem::Create(SvStream& rIn, sal_uInt16 nItemVersi
return pRetval; return pRetval;
} }
SfxPoolItem * Svx3DSmoothNormalsItem::Clone(SfxItemPool *) const
{
return new Svx3DSmoothNormalsItem(*this);
}
// #107245# // #107245#
...@@ -216,6 +223,10 @@ SfxPoolItem* Svx3DSmoothLidsItem::Create(SvStream& rIn, sal_uInt16 nItemVersion) ...@@ -216,6 +223,10 @@ SfxPoolItem* Svx3DSmoothLidsItem::Create(SvStream& rIn, sal_uInt16 nItemVersion)
return pRetval; return pRetval;
} }
SfxPoolItem * Svx3DSmoothLidsItem::Clone(SfxItemPool *) const
{
return new Svx3DSmoothLidsItem(*this);
}
// #107245# // #107245#
...@@ -241,6 +252,10 @@ SfxPoolItem* Svx3DCharacterModeItem::Create(SvStream& rIn, sal_uInt16 nItemVersi ...@@ -241,6 +252,10 @@ SfxPoolItem* Svx3DCharacterModeItem::Create(SvStream& rIn, sal_uInt16 nItemVersi
return pRetval; return pRetval;
} }
SfxPoolItem * Svx3DCharacterModeItem::Clone(SfxItemPool *) const
{
return new Svx3DCharacterModeItem(*this);
}
// #107245# // #107245#
...@@ -266,6 +281,10 @@ SfxPoolItem* Svx3DCloseFrontItem::Create(SvStream& rIn, sal_uInt16 nItemVersion) ...@@ -266,6 +281,10 @@ SfxPoolItem* Svx3DCloseFrontItem::Create(SvStream& rIn, sal_uInt16 nItemVersion)
return pRetval; return pRetval;
} }
SfxPoolItem * Svx3DCloseFrontItem::Clone(SfxItemPool *) const
{
return new Svx3DCloseFrontItem(*this);
}
// #107245# // #107245#
...@@ -291,7 +310,10 @@ SfxPoolItem* Svx3DCloseBackItem::Create(SvStream& rIn, sal_uInt16 nItemVersion) ...@@ -291,7 +310,10 @@ SfxPoolItem* Svx3DCloseBackItem::Create(SvStream& rIn, sal_uInt16 nItemVersion)
return pRetval; return pRetval;
} }
SfxPoolItem * Svx3DCloseBackItem::Clone(SfxItemPool *) const
{
return new Svx3DCloseBackItem(*this);
}
// Svx3DNormalsKindItem: use drawing::NormalsKind // Svx3DNormalsKindItem: use drawing::NormalsKind
bool Svx3DNormalsKindItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const bool Svx3DNormalsKindItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment