summaryrefslogtreecommitdiff
path: root/sc
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 /sc
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 'sc')
-rw-r--r--sc/source/ui/app/inputhdl.cxx2
-rw-r--r--sc/source/ui/view/viewdata.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index aab0500e9f89..62efa6ce93a9 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1882,7 +1882,7 @@ void ScInputHandler::UpdateActiveView()
{
if (comphelper::LibreOfficeKit::isActive())
{
- pTableView->registerLibreOfficeKitViewCallback(pActiveViewSh);
+ pTableView->RegisterViewShell(pActiveViewSh);
}
}
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 6e56363712a7..aff29aec0e64 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -974,7 +974,7 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich,
if (comphelper::LibreOfficeKit::isActive())
{
- pEditView[eWhich]->registerLibreOfficeKitViewCallback(pViewShell);
+ pEditView[eWhich]->RegisterViewShell(pViewShell);
}
}