summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2013-06-26 12:15:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-26 16:22:38 +0100
commit25d84e2826de81d1e7a55ff0fdab7845b7a78e74 (patch)
tree904e93931dd60504341c9a710aad5140784222da /include
parent19694e844942d44d2c2d5e1d1b95b49d03916573 (diff)
Resolves: #i121751# restore cursor/selection on Undo/Redo language...
change for all text - group intrinsic actions of language change for all text into one Undo action - secure <SwRootFrm::CalcRects(..)> - catch NULL pointer - correct <CursorGuard> - really restore the cursor (cherry picked from commit 4207db473430e02a65a5f4d57db6e46a8db29a19) Conflicts: svl/inc/svl/undo.hxx svl/source/undo/undo.cxx sw/inc/IDocumentUndoRedo.hxx sw/source/core/edit/edundo.cxx sw/source/core/inc/UndoManager.hxx sw/source/core/layout/trvlfrm.cxx sw/source/core/undo/docundo.cxx Change-Id: I972988bbc21a519e0956ff196aa93a46287b9a2e
Diffstat (limited to 'include')
-rw-r--r--include/svl/undo.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx
index c1054a6ac3bf..3e59baa693db 100644
--- a/include/svl/undo.hxx
+++ b/include/svl/undo.hxx
@@ -240,6 +240,7 @@ namespace svl
virtual size_t GetRedoActionCount( bool const i_currentLevel = CurrentLevel ) const = 0;
virtual OUString GetRedoActionComment( size_t nNo=0, bool const i_currentLevel = CurrentLevel ) const = 0;
+ virtual SfxUndoAction* GetRedoAction( size_t nNo=0, bool const i_currentLevel = CurrentLevel ) const = 0;
virtual sal_Bool Undo() = 0;
virtual sal_Bool Redo() = 0;
@@ -358,6 +359,7 @@ public:
virtual SfxUndoAction* GetUndoAction( size_t nNo=0 ) const;
virtual size_t GetRedoActionCount( bool const i_currentLevel = CurrentLevel ) const;
virtual OUString GetRedoActionComment( size_t nNo=0, bool const i_currentLevel = CurrentLevel ) const;
+ virtual SfxUndoAction* GetRedoAction( size_t nNo=0, bool const i_currentLevel = CurrentLevel ) const;
virtual sal_Bool Undo();
virtual sal_Bool Redo();
virtual void Clear();