diff options
Diffstat (limited to 'svx/inc/sxmtaitm.hxx')
-rw-r--r-- | svx/inc/sxmtaitm.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/inc/sxmtaitm.hxx b/svx/inc/sxmtaitm.hxx index 663ce66fc072..a658fd97c828 100644 --- a/svx/inc/sxmtaitm.hxx +++ b/svx/inc/sxmtaitm.hxx @@ -28,7 +28,7 @@ class SdrMeasureTextAutoAngleItem: public SdrYesNoItem { public: SdrMeasureTextAutoAngleItem(bool bOn=true): SdrYesNoItem(SDRATTR_MEASURETEXTAUTOANGLE,bOn) {} - virtual SfxPoolItem* Clone(SfxItemPool*) const override + virtual SdrMeasureTextAutoAngleItem* Clone(SfxItemPool*) const override { return new SdrMeasureTextAutoAngleItem(*this); } @@ -39,7 +39,7 @@ public: class SdrMeasureTextAutoAngleViewItem: public SdrAngleItem { public: SdrMeasureTextAutoAngleViewItem(long nVal=31500): SdrAngleItem(SDRATTR_MEASURETEXTAUTOANGLEVIEW,nVal) {} - virtual SfxPoolItem* Clone(SfxItemPool*) const override + virtual SdrMeasureTextAutoAngleViewItem* Clone(SfxItemPool*) const override { return new SdrMeasureTextAutoAngleViewItem(*this); } |