summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/ContextChangeEventMultiplexer.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-08-11 15:08:01 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-08-11 17:28:51 +0200
commit0d9d0ca83fc072979ffda84d993055f44793d05d (patch)
tree57887d3f41b083e3a68bfcf469dcff3be94585b6 /svx/source/sidebar/ContextChangeEventMultiplexer.cxx
parent10e81b3dd5e0712eb8298ee7b6ebf844440fc2d8 (diff)
lok: Simplify context change notification
Change-Id: I3ead4deb5bdfe638bc49e05bfba0d8c630687958 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138141 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/source/sidebar/ContextChangeEventMultiplexer.cxx')
-rw-r--r--svx/source/sidebar/ContextChangeEventMultiplexer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/sidebar/ContextChangeEventMultiplexer.cxx b/svx/source/sidebar/ContextChangeEventMultiplexer.cxx
index ce552b0ac837..dd44e706aeec 100644
--- a/svx/source/sidebar/ContextChangeEventMultiplexer.cxx
+++ b/svx/source/sidebar/ContextChangeEventMultiplexer.cxx
@@ -53,8 +53,7 @@ void ContextChangeEventMultiplexer::NotifyContextChange (
// notify the LOK too after all the change have taken effect.
if (comphelper::LibreOfficeKit::isActive())
{
- if (SfxViewShell* pViewShell = SfxViewShell::Get(rxController))
- SfxLokHelper::notifyContextChange(pViewShell, GetModuleName(rxController->getFrame()), vcl::EnumContext::GetContextName(eContext));
+ SfxLokHelper::notifyContextChange(aEvent);
}
}