summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/unoctitm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 49b2486cd8cd..9c78b4c693ce 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1325,7 +1325,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;
}