You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ha...@apache.org on 2015/01/15 19:14:42 UTC
svn commit: r1652207 -
/openoffice/trunk/main/sc/source/ui/docshell/externalrefmgr.cxx
Author: hanya
Date: Thu Jan 15 18:14:41 2015
New Revision: 1652207
URL: http://svn.apache.org/r1652207
Log:
#i117843# avoid shrinking the range from external file until the matrix supports gap from the original range
Modified:
openoffice/trunk/main/sc/source/ui/docshell/externalrefmgr.cxx
Modified: openoffice/trunk/main/sc/source/ui/docshell/externalrefmgr.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/docshell/externalrefmgr.cxx?rev=1652207&r1=1652206&r2=1652207&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/docshell/externalrefmgr.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/docshell/externalrefmgr.cxx Thu Jan 15 18:14:41 2015
@@ -1369,10 +1369,11 @@ static ScTokenArray* lcl_convertToTokenA
// Only loop within the data area.
SCCOL nDataCol1 = nCol1, nDataCol2 = nCol2;
SCROW nDataRow1 = nRow1, nDataRow2 = nRow2;
- bool bShrunk;
- if (!pSrcDoc->ShrinkToUsedDataArea( bShrunk, nTab, nDataCol1, nDataRow1, nDataCol2, nDataRow2, false))
+ // the matrix for shrunken data range gives invalid match until the matrix supports the gap
+ //bool bShrunk;
+ //if (!pSrcDoc->ShrinkToUsedDataArea( bShrunk, nTab, nDataCol1, nDataRow1, nDataCol2, nDataRow2, false))
// no data within specified range.
- continue;
+ // continue;
if (pUsedRange.get())
// Make sure the used area only grows, not shrinks.