diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-01 14:17:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-03 06:44:41 +0000 |
commit | f091259ad2ec1590714645839668580cd7b8c7c4 (patch) | |
tree | 3bf6b328637358365848bc98a18cbf82ccd4b2d0 /include/editeng/postitem.hxx | |
parent | d0cc5fcd5bacd8e5e0fa7fe62a78907c2febb867 (diff) |
convert SfxEnumItem to type-safe template class
and drop the SvxChartTextOrientItem class, unused.
Change-Id: I99100837d1beb953450f57b2cda47d165df1620c
Reviewed-on: https://gerrit.libreoffice.org/34747
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/postitem.hxx')
-rw-r--r-- | include/editeng/postitem.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/postitem.hxx b/include/editeng/postitem.hxx index 8a6a0c58027d..674f5ba8b747 100644 --- a/include/editeng/postitem.hxx +++ b/include/editeng/postitem.hxx @@ -32,7 +32,7 @@ class SvXMLUnitConverter; This item describes the font setting (Italic) */ -class EDITENG_DLLPUBLIC SvxPostureItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxPostureItem : public SfxEnumItem<FontItalic> { public: static SfxPoolItem* CreateDefault(); @@ -66,7 +66,7 @@ public: // enum cast FontItalic GetPosture() const - { return (FontItalic)GetValue(); } + { return GetValue(); } void dumpAsXml(struct _xmlTextWriter* pWriter) const override; }; |