incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1166947 - /incubator/ooo/trunk/main/sc/source/filter/excel/impop.cxx
Date Fri, 09 Sep 2011 00:37:10 GMT
Author: erack
Date: Fri Sep  9 00:37:10 2011
New Revision: 1166947

URL: http://svn.apache.org/viewvc?rev=1166947&view=rev
Log:
calc68: #i117728# allocate row/column outline buffers according to BIFF sheet size, not Calc
sheet size

Original committer: Daniel Rentz [dr] <daniel.rentz@oracle.com>

Modified:
    incubator/ooo/trunk/main/sc/source/filter/excel/impop.cxx

Modified: incubator/ooo/trunk/main/sc/source/filter/excel/impop.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sc/source/filter/excel/impop.cxx?rev=1166947&r1=1166946&r2=1166947&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sc/source/filter/excel/impop.cxx (original)
+++ incubator/ooo/trunk/main/sc/source/filter/excel/impop.cxx Fri Sep  9 00:37:10 2011
@@ -1336,8 +1336,8 @@ void ImportExcel::PostDocLoad( void )
 
 XclImpOutlineDataBuffer::XclImpOutlineDataBuffer( const XclImpRoot& rRoot, SCTAB nScTab
) :
     XclImpRoot( rRoot ),
-    mxColOutlineBuff( new XclImpOutlineBuffer( MAXCOLCOUNT ) ),
-    mxRowOutlineBuff( new XclImpOutlineBuffer( MAXROWCOUNT ) ),
+    mxColOutlineBuff( new XclImpOutlineBuffer( rRoot.GetXclMaxPos().Col() + 1 ) ),
+    mxRowOutlineBuff( new XclImpOutlineBuffer( rRoot.GetXclMaxPos().Row() + 1 ) ),
     mxColRowBuff( new XclImpColRowSettings( rRoot ) ),
     mnScTab( nScTab )
 {



Mime
View raw message