diff options
Diffstat (limited to 'sc/source/ui/inc/undoblk.hxx')
-rw-r--r-- | sc/source/ui/inc/undoblk.hxx | 324 |
1 files changed, 162 insertions, 162 deletions
diff --git a/sc/source/ui/inc/undoblk.hxx b/sc/source/ui/inc/undoblk.hxx index 15df3c2a9ff5..cefbb40e7a4e 100644 --- a/sc/source/ui/inc/undoblk.hxx +++ b/sc/source/ui/inc/undoblk.hxx @@ -49,14 +49,14 @@ public: bool bNewPartOfPaste ); virtual ~ScUndoInsertCells(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat( SfxRepeatTarget& rTarget ) SAL_OVERRIDE; - virtual bool CanRepeat( SfxRepeatTarget& rTarget ) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat( SfxRepeatTarget& rTarget ) override; + virtual bool CanRepeat( SfxRepeatTarget& rTarget ) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; - virtual bool Merge( SfxUndoAction *pNextAction ) SAL_OVERRIDE; + virtual bool Merge( SfxUndoAction *pNextAction ) override; private: ScRange aEffRange; @@ -81,12 +81,12 @@ public: DelCellCmd eNewCmd, ScDocument* pUndoDocument, ScRefUndoData* pRefData ); virtual ~ScUndoDeleteCells(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScRange aEffRange; @@ -113,12 +113,12 @@ public: virtual ~ScUndoDeleteMulti(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: bool mbRows:1; @@ -143,12 +143,12 @@ public: ScDocument* pNewUndoDoc ); virtual ~ScUndoCut(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScMarkData aMarkData; @@ -191,12 +191,12 @@ public: const ScUndoPasteOptions* pOptions = NULL); virtual ~ScUndoPaste(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScMarkData aMarkData; @@ -224,12 +224,12 @@ public: bool bScenario ); virtual ~ScUndoDragDrop(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: sal_uInt16 mnPaintExtFlags; @@ -259,12 +259,12 @@ public: InsertDeleteFlags nNewFlags, bool bObjects ); virtual ~ScUndoDeleteContents(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; void SetDataSpans( const std::shared_ptr<DataSpansType>& pSpans ); @@ -296,12 +296,12 @@ public: InsertDeleteFlags nFlg, ScPasteFunc nFunc, bool bSkip, bool bLink ); virtual ~ScUndoFillTable(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScRange aRange; @@ -334,12 +334,12 @@ public: const SvxBoxInfoItem* pNewInner = NULL ); virtual ~ScUndoSelectionAttr(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; ScEditDataArray* GetDataArray(); private: @@ -371,12 +371,12 @@ public: bool bNewWidth ); virtual ~ScUndoWidthOrHeight(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScMarkData aMarkData; @@ -405,12 +405,12 @@ public: double fNewStartValue, double fNewStepValue, double fNewMaxValue ); virtual ~ScUndoAutoFill(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScRange aSource; @@ -436,12 +436,12 @@ public: bool bMergeContents, ScDocument* pUndoDoc, SdrUndoAction* pDrawUndo); virtual ~ScUndoMerge(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScCellMergeOption maOption; @@ -462,12 +462,12 @@ public: bool bNewSize, sal_uInt16 nNewFormatNo ); virtual ~ScUndoAutoFormat(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScDocument* pUndoDoc; // deleted data @@ -487,12 +487,12 @@ public: const SvxSearchItem* pItem ); virtual ~ScUndoReplace(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScAddress aCursorPos; @@ -521,12 +521,12 @@ public: ScTabOpParam::Mode eMode ); virtual ~ScUndoTabOp(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScRange aRange; @@ -549,12 +549,12 @@ public: const ScConversionParam& rConvParam ); virtual ~ScUndoConversion(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScMarkData aMarkData; @@ -579,12 +579,12 @@ public: ScDocument* pNewUndoDoc, ScDocument* pNewRedoDoc, bool bNewMulti, InsertDeleteFlags nNewFlag); virtual ~ScUndoRefConversion(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScMarkData aMarkData; @@ -609,12 +609,12 @@ public: ScDocument* pNewUndoDoc, ScDocument* pNewRedoDoc ); virtual ~ScUndoListNames(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScDocument* pUndoDoc; @@ -631,12 +631,12 @@ public: ScDocument* pUndoDoc, ScDocument* pRedoDoc, const ScRange& rRange); virtual ~ScUndoConditionalFormat(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: void DoChange(ScDocument* pDoc); @@ -655,12 +655,12 @@ public: const OUString& rNewName ); virtual ~ScUndoUseScenario(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScDocument* pUndoDoc; @@ -680,13 +680,13 @@ public: ScDocument* pNewUndoDoc ); virtual ~ScUndoSelectionStyle(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; - virtual sal_uInt16 GetId() const SAL_OVERRIDE; + virtual OUString GetComment() const override; + virtual sal_uInt16 GetId() const override; private: ScMarkData aMarkData; @@ -705,12 +705,12 @@ public: ScDocument* pNewUndoDoc ); virtual ~ScUndoRefreshLink(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScDocument* pUndoDoc; @@ -727,12 +727,12 @@ public: const OUString& rForm ); virtual ~ScUndoEnterMatrix(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScDocument* pUndoDoc; @@ -754,12 +754,12 @@ public: sal_uLong nRefreshDelay ); virtual ~ScUndoInsertAreaLink(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: OUString aDocName; @@ -781,12 +781,12 @@ public: sal_uLong nRefreshDelay ); virtual ~ScUndoRemoveAreaLink(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: OUString aDocName; @@ -814,12 +814,12 @@ public: bool bDoInsert ); virtual ~ScUndoUpdateAreaLink(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: OUString aOldDoc; @@ -849,12 +849,12 @@ public: ScDocument* pNewUndoDoc, bool bIncrement ); virtual ~ScUndoIndent(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScMarkData aMarkData; @@ -870,12 +870,12 @@ public: ScDocument* pNewUndoDoc, sal_Int32 nType ); virtual ~ScUndoTransliterate(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScMarkData aMarkData; @@ -891,12 +891,12 @@ public: ScDocument* pNewUndoDoc, const sal_uInt16* pW ); virtual ~ScUndoClearItems(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScMarkData aMarkData; @@ -912,12 +912,12 @@ public: SCTAB nNewTab, ScDocument* pNewUndoDoc ); virtual ~ScUndoRemoveBreaks(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: SCTAB nTab; @@ -933,12 +933,12 @@ public: ScDocument* pNewUndoDoc ); virtual ~ScUndoRemoveMerge(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: void SetCurTab(); @@ -958,12 +958,12 @@ public: const SvxBoxInfoItem& rNewInner ); virtual ~ScUndoBorder(); - virtual void Undo() SAL_OVERRIDE; - virtual void Redo() SAL_OVERRIDE; - virtual void Repeat(SfxRepeatTarget& rTarget) SAL_OVERRIDE; - virtual bool CanRepeat(SfxRepeatTarget& rTarget) const SAL_OVERRIDE; + virtual void Undo() override; + virtual void Redo() override; + virtual void Repeat(SfxRepeatTarget& rTarget) override; + virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override; - virtual OUString GetComment() const SAL_OVERRIDE; + virtual OUString GetComment() const override; private: ScDocument* pUndoDoc; |