summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-08-02 11:43:39 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-08-02 11:13:48 +0000
commit0762a119fc0a17b80dab1e49fb832a2214f85fdc (patch)
tree707aa8239a80e37ba353f12282ba40365a8f8696 /sw
parent9162c483bcc6288cc2a92503b6ec34d58496327b (diff)
editeng: make SfxUndoAction::GetViewShellId() interface available
Extend the existing OutlinerViewCallable interface to be able to obtain the view shell ID of a view shell, even from editeng. Change-Id: I13708b0e4f58ee86643b913c7d21de022a685223 Reviewed-on: https://gerrit.libreoffice.org/27788 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/SidebarWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
index 9b60e19a8212..1e815abffa46 100644
--- a/sw/source/uibase/docvw/SidebarWin.cxx
+++ b/sw/source/uibase/docvw/SidebarWin.cxx
@@ -614,7 +614,7 @@ void SwSidebarWin::InitControls()
if (comphelper::LibreOfficeKit::isActive())
{
// If there is a callback already registered, inform the new outliner view about it.
- mpOutlinerView->registerLibreOfficeKitViewCallback(&mrView);
+ mpOutlinerView->RegisterViewShell(&mrView);
}
//create Scrollbars