From 4cbaa49c0ee707a2e1e1d842279b32473e8c8a28 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 1 Aug 2016 17:35:23 +0200 Subject: svl: implement SfxUndoAction::GetViewShellId() interface in SfxListUndoAction Client code in sw, sd, sc and svx is adapted, the rest is just a placeholder for now. With this, e.g. the undo item for Writer's insert comment properly tracks which window was used for the insertion. Change-Id: Idad587e6ca07ba69bf59aa7013b251af8bf95bab Reviewed-on: https://gerrit.libreoffice.org/27781 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- framework/source/fwe/helper/undomanagerhelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx index 88ea67f93132..19c55755d54a 100644 --- a/framework/source/fwe/helper/undomanagerhelper.cxx +++ b/framework/source/fwe/helper/undomanagerhelper.cxx @@ -525,7 +525,7 @@ namespace framework { ::comphelper::FlagGuard aNotificationGuard( m_bAPIActionRunning ); - rUndoManager.EnterListAction( i_title, OUString(), 0 ); + rUndoManager.EnterListAction( i_title, OUString(), 0, -1 ); } m_aContextVisibilities.push( i_hidden ); -- cgit