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/charreliefitem.hxx | |
parent | gbuild-to-ide: fix testide problem (diff) | |
download | core-f091259ad2ec1590714645839668580cd7b8c7c4.tar.gz core-f091259ad2ec1590714645839668580cd7b8c7c4.zip |
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/charreliefitem.hxx')
-rw-r--r-- | include/editeng/charreliefitem.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/editeng/charreliefitem.hxx b/include/editeng/charreliefitem.hxx index b644d31d808e..c87aa57e2f14 100644 --- a/include/editeng/charreliefitem.hxx +++ b/include/editeng/charreliefitem.hxx @@ -31,7 +31,7 @@ emboss, relief. */ -class EDITENG_DLLPUBLIC SvxCharReliefItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxCharReliefItem : public SfxEnumItem<FontRelief> { public: static SfxPoolItem* CreateDefault(); @@ -46,8 +46,6 @@ public: virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const override; virtual sal_uInt16 GetValueCount() const override; - FontRelief GetValue() const { return (FontRelief)SfxEnumItem::GetValue(); } - void SetValue(FontRelief f) { SfxEnumItem::SetValue((sal_uInt16)f); } virtual bool GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, |