sc/source/ui/view/tabvwsh4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 36c1be166c991611e4f164e7b7d82f8c81c8ebce Author: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> AuthorDate: Thu Oct 13 09:16:35 2022 +0200 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Thu Oct 13 21:35:41 2022 +0200 tdf#150664 Initialize input line correctly Initialize code was not called when xlsx file was loaded (line count is only stored in ods format). Change-Id: I5b01f6079921af77ffd6da09ae5d5388b8beff1c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141281 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> (cherry picked from commit f13606b613585b5e6611429dc3e699740dfeed5a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141193 Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de> diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index fb41a4b1d715..edf1c5c3efd9 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -133,7 +133,7 @@ void ScTabViewShell::Activate(bool bMDI) ScInputWindow* pWin = static_cast<ScInputWindow*>(pChild->GetWindow()); if (pWin && pWin->IsVisible()) { - + pWin->NumLinesChanged(); // tdf#150664 ScInputHandler* pOldHdl=pWin->GetInputHandler(); SfxViewShell* pSh = SfxViewShell::GetFirst( true, checkSfxViewShell<ScTabViewShell> );