From 7494466e43daa4d071224f401267e2b6fd4222aa Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 29 Jul 2016 13:58:07 +0200 Subject: 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 Tested-by: Jenkins --- include/svl/undo.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/svl/undo.hxx') 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: -- cgit