Kaydet (Commit) 13bb6dcd authored tarafından Markus Mohrhard's avatar Markus Mohrhard

ensure that number of tabs is correctly set in ScViewData, fdo#45987

Change-Id: Ia77ea939f6ce9301afeabe1d1679998ce34b397e
üst 90d0efb5
...@@ -2744,6 +2744,9 @@ void ScViewData::ReadUserDataSequence(const uno::Sequence <beans::PropertyValue> ...@@ -2744,6 +2744,9 @@ void ScViewData::ReadUserDataSequence(const uno::Sequence <beans::PropertyValue>
sal_Int32 nTemp32(0); sal_Int32 nTemp32(0);
sal_Int16 nTemp16(0); sal_Int16 nTemp16(0);
sal_Bool bPageMode(false); sal_Bool bPageMode(false);
EnsureTabDataSize(GetDocument()->GetTableCount()-1);
for (sal_Int32 i = 0; i < nCount; i++) for (sal_Int32 i = 0; i < nCount; i++)
{ {
// SC_VIEWID has to parse and use by mba // SC_VIEWID has to parse and use by mba
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment