summaryrefslogtreecommitdiffstats
path: root/include/editeng/justifyitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng/justifyitem.hxx')
-rw-r--r--include/editeng/justifyitem.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/justifyitem.hxx b/include/editeng/justifyitem.hxx
index e087f85be141..616427f466f9 100644
--- a/include/editeng/justifyitem.hxx
+++ b/include/editeng/justifyitem.hxx
@@ -46,7 +46,7 @@ public:
virtual sal_uInt16 GetValueCount() const override;
static OUString GetValueText( SvxCellHorJustify nVal );
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
+ virtual SvxHorJustifyItem* Clone( SfxItemPool *pPool = nullptr ) const override;
SvxHorJustifyItem(SvxHorJustifyItem const &) = default; // SfxPoolItem copy function dichotomy
};
@@ -73,7 +73,7 @@ public:
virtual sal_uInt16 GetValueCount() const override;
static OUString GetValueText( SvxCellVerJustify nVal );
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
+ virtual SvxVerJustifyItem* Clone( SfxItemPool *pPool = nullptr ) const override;
SvxVerJustifyItem(SvxVerJustifyItem const &) = default; // SfxPoolItem copy function dichotomy
};
@@ -96,7 +96,7 @@ public:
virtual sal_uInt16 GetValueCount() const override;
static OUString GetValueText( SvxCellJustifyMethod nVal );
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
+ virtual SvxJustifyMethodItem* Clone( SfxItemPool *pPool = nullptr ) const override;
};
#endif