sc/source/ui/view/viewdata.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 35e449707501c2f19a585fba3efcf1ccd217df6e Author: Laurent Godard <lgodard.li...@laposte.net> Date: Thu Jul 9 17:00:54 2015 +0200 init maTabData to the correct tab size tdf#92629 Change-Id: I6b226f8e992b3a2b6bcebc44b36ca1f2f06a128e Reviewed-on: https://gerrit.libreoffice.org/16894 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> (cherry picked from commit ebdc15f93587b59a79a5104f8358841a28940a82) diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 8795afe..04d11f3 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -370,6 +370,12 @@ ScViewData::ScViewData( ScDocShell* pDocSh, ScTabViewShell* pViewSh ) : pThisTab = maTabData[nTabNo]; } + if (pDoc) + { + SCTAB nTableCount = pDoc->GetTableCount(); + EnsureTabDataSize(nTableCount); + } + CalcPPT(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits