From e94d9c1c346a8b7e58c24bcf554c0a2bab77f59c Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 21 Jul 2020 10:59:24 +0200 Subject: Revert "tdf#128502: Try to support multiple documents ... in LibreOfficeKit-using process" This reverts commit b0da52d19ed40dd0871f208eb7387ec1d8252de4. We decided not to have this "multiple docs" feature in stable cp-6.2 because it caused regressions that we could not fix quickly. Change-Id: Ib9ad6e010935e6a936832c01756700735a8cc6c5 --- sc/source/ui/view/gridwin.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sc/source/ui/view/gridwin.cxx') diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index c0e437b8f98d..6e8cfc680e47 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -825,7 +825,7 @@ void ScGridWindow::UpdateAutoFilterFromMenu(AutoFilterMode eMode) // Something went terribly wrong! return; - if (ScTabViewShell::isAnyEditViewInRange(pViewData->GetViewShell(), /*bColumns*/ false, aParam.nRow1, aParam.nRow2)) + if (ScTabViewShell::isAnyEditViewInRange(/*bColumns*/ false, aParam.nRow1, aParam.nRow2)) return; pEntry->bDoQuery = true; @@ -5733,9 +5733,6 @@ void ScGridWindow::notifyKitCellViewCursor(const SfxViewShell* pForShell) const { ScTabViewShell* pViewShell = pViewData->GetViewShell(); - if (pViewShell->GetDocId() != pForShell->GetDocId()) - return; - OString aCursor("EMPTY"); if (mpOOCursors) // cf. getCellCursor above { -- cgit