[Libreoffice-commits] core.git: sc/source
Laurent Godard
lgodard.libre at laposte.net
Thu Jul 9 15:46:12 PDT 2015
sc/source/ui/view/viewdata.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit ebdc15f93587b59a79a5104f8358841a28940a82
Author: Laurent Godard <lgodard.libre at 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 <ci at libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index b294c74..5569d0c 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();
}
More information about the Libreoffice-commits
mailing list