diff options
Diffstat (limited to 'svx/inc/sxmovitm.hxx')
-rw-r--r-- | svx/inc/sxmovitm.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/inc/sxmovitm.hxx b/svx/inc/sxmovitm.hxx index ff8683b7fc52..d3a4087c6f13 100644 --- a/svx/inc/sxmovitm.hxx +++ b/svx/inc/sxmovitm.hxx @@ -25,7 +25,7 @@ class SdrMoveXItem: public SdrMetricItem { public: SdrMoveXItem(): SdrMetricItem(SDRATTR_MOVEX,0) {} - SfxPoolItem* Clone(SfxItemPool*) const override + SdrMoveXItem* Clone(SfxItemPool*) const override { return new SdrMoveXItem(*this); } @@ -34,7 +34,7 @@ public: class SdrMoveYItem: public SdrMetricItem { public: SdrMoveYItem(): SdrMetricItem(SDRATTR_MOVEY,0) {} - SfxPoolItem* Clone(SfxItemPool*) const override + SdrMoveYItem* Clone(SfxItemPool*) const override { return new SdrMoveYItem(*this); } |