summaryrefslogtreecommitdiff
path: root/include/svx/xlineit0.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/svx/xlineit0.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/svx/xlineit0.hxx')
-rw-r--r--include/svx/xlineit0.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svx/xlineit0.hxx b/include/svx/xlineit0.hxx
index ca0148afad47..6f6e2044ff50 100644
--- a/include/svx/xlineit0.hxx
+++ b/include/svx/xlineit0.hxx
@@ -28,7 +28,7 @@
#include <svx/svxdllapi.h>
#include <com/sun/star/drawing/LineStyle.hpp>
-class SVX_DLLPUBLIC XLineStyleItem : public SfxEnumItem
+class SVX_DLLPUBLIC XLineStyleItem : public SfxEnumItem<css::drawing::LineStyle>
{
public:
static SfxPoolItem* CreateDefault();
@@ -45,7 +45,6 @@ public:
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
virtual sal_uInt16 GetValueCount() const override;
- css::drawing::LineStyle GetValue() const { return (css::drawing::LineStyle) SfxEnumItem::GetValue(); }
};
#endif