sc/source/ui/view/viewdata.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit af2b82b4f32909dd82006e531398c68268325d24 Author: Dennis Francis <[email protected]> AuthorDate: Sat Jul 25 09:28:55 2020 +0530 Commit: Dennis Francis <[email protected]> CommitDate: Sat Jul 25 08:25:06 2020 +0200 lok-freezepanes: allow empty tables Tables can be empty/not populated during import, bail out in such cases. Change-Id: Idfefdc153215ff5150aa2040858349ed9f0198a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99415 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Dennis Francis <[email protected]> (cherry picked from commit 46068e8b1eb005dc0503e2f4b028c2d59afd9a29) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99393 Tested-by: Jenkins diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 4c51f594b64f..1fa386526444 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -4151,7 +4151,8 @@ void ScViewData::DeriveLOKFreezeIfNeeded(SCTAB nForTab) } ScViewDataTable* pViewTable = maTabData[nForTab].get(); - assert(pViewTable); + if (!pViewTable) + return; bool bConvertToFreezeX = false; bool bConvertToFreezeY = false; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
