[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source
Kohei Yoshida
kohei.yoshida at gmail.com
Wed Aug 7 20:58:02 PDT 2013
sc/source/filter/excel/excform8.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 06e851924bbbe9a88d4403913d0024fc29ceb4f4
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Wed Aug 7 23:58:32 2013 -0400
Fix import of negative relative row reference from xls.
Change-Id: Ibaa325396a8a06c45cf59af9809ed5cbff6d10d0
diff --git a/sc/source/filter/excel/excform8.cxx b/sc/source/filter/excel/excform8.cxx
index 35de70f..043b3f4 100644
--- a/sc/source/filter/excel/excform8.cxx
+++ b/sc/source/filter/excel/excform8.cxx
@@ -1417,7 +1417,7 @@ void ExcelToSc8::ExcRelToScRel8( sal_uInt16 nRow, sal_uInt16 nC, ScSingleRefData
// R O W
if( bRowRel )
- rSRD.SetRelRow(nRow);
+ rSRD.SetRelRow(static_cast<sal_Int16>(nRow));
else
rSRD.SetAbsRow(std::min( static_cast<SCROW>(nRow), MAXROW));
}
More information about the Libreoffice-commits
mailing list