summaryrefslogtreecommitdiff
path: root/include/svl/undo.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-07-29 13:58:07 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-07-29 12:49:34 +0000
commit7494466e43daa4d071224f401267e2b6fd4222aa (patch)
tree03d8e67df0dff10380e23dac627490c81e5b9c19 /include/svl/undo.hxx
parenta840b2526b8b8e44991bef2eb7b6ba44a1a90d3a (diff)
svl: add SfxUndoAction::GetViewShellId()
In preparation of a Writer version that overrides this and remembers which view shell introduced which action. Change-Id: I4970f8ce9c56f1b57ab1ae92f3ea8be804ca27bf Reviewed-on: https://gerrit.libreoffice.org/27682 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/svl/undo.hxx')
-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 59adae466895..69664720e98b 100644
--- a/include/svl/undo.hxx
+++ b/include/svl/undo.hxx
@@ -59,6 +59,8 @@ public:
virtual OUString GetComment() const;
virtual OUString GetRepeatComment(SfxRepeatTarget&) const;
virtual sal_uInt16 GetId() const;
+ /// ID of the view shell that created this undo action.
+ virtual sal_Int32 GetViewShellId() const;
virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const;
private: