summaryrefslogtreecommitdiff
path: root/include/svx/sdtaitm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/sdtaitm.hxx')
-rw-r--r--include/svx/sdtaitm.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/sdtaitm.hxx b/include/svx/sdtaitm.hxx
index bfedb5c39117..5a7ecdfc73bf 100644
--- a/include/svx/sdtaitm.hxx
+++ b/include/svx/sdtaitm.hxx
@@ -36,7 +36,7 @@ class SVX_DLLPUBLIC SdrTextVertAdjustItem: public SfxEnumItem<SdrTextVertAdjust>
public:
SdrTextVertAdjustItem(SdrTextVertAdjust eAdj=SDRTEXTVERTADJUST_TOP): SfxEnumItem(SDRATTR_TEXT_VERTADJUST, eAdj) {}
SdrTextVertAdjustItem(SdrTextVertAdjust eAdj, sal_uInt16 nWhich): SfxEnumItem(nWhich, eAdj) {}
- virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override;
+ virtual SdrTextVertAdjustItem* Clone(SfxItemPool* pPool=nullptr) const override;
virtual sal_uInt16 GetValueCount() const override; // { return 5; }
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
@@ -59,7 +59,7 @@ enum SdrTextHorzAdjust {SDRTEXTHORZADJUST_LEFT, // left adjusted
class SVX_DLLPUBLIC SdrTextHorzAdjustItem: public SfxEnumItem<SdrTextHorzAdjust> {
public:
SdrTextHorzAdjustItem(SdrTextHorzAdjust eAdj=SDRTEXTHORZADJUST_BLOCK): SfxEnumItem(SDRATTR_TEXT_HORZADJUST, eAdj) {}
- virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override;
+ virtual SdrTextHorzAdjustItem* Clone(SfxItemPool* pPool=nullptr) const override;
virtual sal_uInt16 GetValueCount() const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;