diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-12-30 12:07:10 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-12-30 14:41:03 +0100 |
commit | 0b1fb051d1bcbfc9f08f288193cff8b039558afd (patch) | |
tree | e5128ced9fc5e70b05d829c6f079b3eb426ebd72 /sfx2 | |
parent | 2dea8fd43fa4080b3d048415bbbf9a9f7e93b70a (diff) |
lok: send uno command state update to the right view.
We get the correct view as a parameter(pViewFrame).
Change-Id: I36e99a7660fee69c6c7cb10977763b1136eb6e22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108511
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index c31064988113..8ccf6c71ad11 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1324,7 +1324,7 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra else { // Try to send JSON state version - SfxLokHelper::sendUnoStatus(SfxViewShell::Current(), pState); + SfxLokHelper::sendUnoStatus(pViewFrame->GetViewShell(), pState); return; } |