summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-04-16 10:26:34 +0200
committerMichael Meeks <michael.meeks@collabora.com>2019-09-26 10:04:05 +0200
commitb88c4c2eef6837ba43a32bbceded5e6f031962d1 (patch)
tree24f1a2e8da78cf1559b77cd35d703ab48f20dc3c /sc
parent468729d6490f033a2d955edbc0fd6ef932bb11a9 (diff)
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 <michael.meeks@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/scmod.cxx2
1 files changed, 1 insertions, 1 deletions
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();