diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2022-10-13 09:16:35 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-10-13 21:35:41 +0200 |
commit | 36c1be166c991611e4f164e7b7d82f8c81c8ebce (patch) | |
tree | 5badf15e35f3fa6120bf96215c9ee070e70e91d6 /sc | |
parent | 113d41180c8647a381b06a17186fc4485ff11bd3 (diff) |
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.mehrbrodt@allotropia.de>
(cherry picked from commit f13606b613585b5e6611429dc3e699740dfeed5a)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141193
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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> ); |