diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-12-11 20:57:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-12-12 21:12:10 +0100 |
commit | 2431477337f4ac4384ba615f76bfb5904f1a3b47 (patch) | |
tree | 6f676441983e9b3c8440600d09a49478353e1faf /include/editeng/charreliefitem.hxx | |
parent | ScShapeChild has broken copy functions (diff) | |
download | core-2431477337f4ac4384ba615f76bfb5904f1a3b47.tar.gz core-2431477337f4ac4384ba615f76bfb5904f1a3b47.zip |
use covariant return type for SfxPoolItem::Clone
and can then remove some casting
Change-Id: Id821c32ca2cbcdb7f57ef7a5fa1960042e630ffc
Reviewed-on: https://gerrit.libreoffice.org/85022
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/editeng/charreliefitem.hxx')
-rw-r--r-- | include/editeng/charreliefitem.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/charreliefitem.hxx b/include/editeng/charreliefitem.hxx index 94eb995eede4..78b57fa7df00 100644 --- a/include/editeng/charreliefitem.hxx +++ b/include/editeng/charreliefitem.hxx @@ -39,7 +39,7 @@ public: SvxCharReliefItem( FontRelief eValue /*= FontRelief::NONE*/, const sal_uInt16 nId ); - virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; + virtual SvxCharReliefItem* Clone( SfxItemPool *pPool = nullptr ) const override; static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual sal_uInt16 GetValueCount() const override; |