summaryrefslogtreecommitdiff
path: root/include/editeng/crossedoutitem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-01 14:17:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-03 06:44:41 +0000
commitf091259ad2ec1590714645839668580cd7b8c7c4 (patch)
tree3bf6b328637358365848bc98a18cbf82ccd4b2d0 /include/editeng/crossedoutitem.hxx
parentd0cc5fcd5bacd8e5e0fa7fe62a78907c2febb867 (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/crossedoutitem.hxx')
-rw-r--r--include/editeng/crossedoutitem.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/crossedoutitem.hxx b/include/editeng/crossedoutitem.hxx
index e91d9af09ddb..6bf4d4250ffe 100644
--- a/include/editeng/crossedoutitem.hxx
+++ b/include/editeng/crossedoutitem.hxx
@@ -31,7 +31,7 @@ class SvXMLUnitConverter;
This item describes, whether and how it is striked out.
*/
-class EDITENG_DLLPUBLIC SvxCrossedOutItem : public SfxEnumItem
+class EDITENG_DLLPUBLIC SvxCrossedOutItem : public SfxEnumItem<FontStrikeout>
{
public:
static SfxPoolItem* CreateDefault();
@@ -67,7 +67,7 @@ public:
// enum cast
FontStrikeout GetStrikeout() const
- { return (FontStrikeout)GetValue(); }
+ { return GetValue(); }
};
#endif // INCLUDED_EDITENG_CROSSEDOUTITEM_HXX