diff options
Diffstat (limited to 'include/editeng/wghtitem.hxx')
-rw-r--r-- | include/editeng/wghtitem.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/editeng/wghtitem.hxx b/include/editeng/wghtitem.hxx index 4ced552b81bb..eaa11698e337 100644 --- a/include/editeng/wghtitem.hxx +++ b/include/editeng/wghtitem.hxx @@ -32,7 +32,7 @@ class SvXMLUnitConverter; This item describes the font weight. */ -class EDITENG_DLLPUBLIC SvxWeightItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxWeightItem : public SfxEnumItem<FontWeight> { public: static SfxPoolItem* CreateDefault(); @@ -65,8 +65,7 @@ public: } // enum cast - FontWeight GetWeight() const - { return (FontWeight)GetValue(); } + FontWeight GetWeight() const { return GetValue(); } void dumpAsXml(struct _xmlTextWriter* pWriter) const override; }; |