From b88c4c2eef6837ba43a32bbceded5e6f031962d1 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Tue, 16 Apr 2019 10:26:34 +0200 Subject: Allow dialogs to create multiple instances in Online Change-Id: Ia4d5ff42cc7542319966523aa843e7494b544375 Reviewed-on: https://gerrit.libreoffice.org/79569 Tested-by: Jenkins Reviewed-by: Michael Meeks --- sc/source/ui/app/scmod.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source') diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index fe8cd6c92d09..301fd7b326f1 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -1473,7 +1473,7 @@ void ScModule::SetRefDialog( sal_uInt16 nId, bool bVis, SfxViewFrame* pViewFrm ) //TODO: Move reference dialog handling to view // Just keep function autopilot here for references to other documents if ( m_nCurRefDlgId == 0 || ( nId == m_nCurRefDlgId && !bVis ) - || ( comphelper::LibreOfficeKit::isActive() && m_nCurRefDlgId == SID_OPENDLG_FUNCTION ) ) + || ( comphelper::LibreOfficeKit::isActive() ) ) { if ( !pViewFrm ) pViewFrm = SfxViewFrame::Current(); -- cgit