diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-07 23:58:32 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-12 19:46:28 -0400 |
commit | 0c7dd40e63bd6aa401fb731f9ac9daeb30c6e8f1 (patch) | |
tree | db3549cc26b009d0ff58829beee1cb701ae5ad54 /sc | |
parent | 6775874b54abcd625e220f9c7401cb04050135b4 (diff) |
Fix import of negative relative row reference from xls.
Change-Id: Ibaa325396a8a06c45cf59af9809ed5cbff6d10d0
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/excform8.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/excform8.cxx b/sc/source/filter/excel/excform8.cxx index 35de70fcb59f..043b3f4ca501 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)); } |