summaryrefslogtreecommitdiff
path: root/include/svx/xftshit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/xftshit.hxx')
-rw-r--r--include/svx/xftshit.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/svx/xftshit.hxx b/include/svx/xftshit.hxx
index 384bc306d51c..7f8518660fb2 100644
--- a/include/svx/xftshit.hxx
+++ b/include/svx/xftshit.hxx
@@ -30,7 +30,7 @@
|*
\************************************************************************/
-class SVX_DLLPUBLIC XFormTextShadowItem : public SfxEnumItem
+class SVX_DLLPUBLIC XFormTextShadowItem : public SfxEnumItem<XFormTextShadow>
{
public:
static SfxPoolItem* CreateDefault();
@@ -39,8 +39,7 @@ public:
XFormTextShadowItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = nullptr) const override;
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const override;
- virtual sal_uInt16 GetValueCount() const override;
- XFormTextShadow GetValue() const { return (XFormTextShadow) SfxEnumItem::GetValue(); }
+ virtual sal_uInt16 GetValueCount() const override;
// #FontWork#
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;