[Libreoffice-commits] core.git: sc/source
Noel Grandin
noel at peralex.com
Tue Sep 13 06:19:25 UTC 2016
sc/source/filter/excel/xilink.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 757fd37747fd59091fa17432e8c8858b8a207a84
Author: Noel Grandin <noel at peralex.com>
Date: Mon Sep 12 15:49:51 2016 +0200
fix a TODO in XclImpExtName::MOper::MOper
where it was not mapping the XLS error code to CALC
Change-Id: Ia44d6a6793960b52f43a0983d231347ba193636c
Reviewed-on: https://gerrit.libreoffice.org/28839
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx
index 7ad8854..6a5c2bf 100644
--- a/sc/source/filter/excel/xilink.cxx
+++ b/sc/source/filter/excel/xilink.cxx
@@ -319,8 +319,8 @@ XclImpExtName::MOper::MOper(svl::SharedStringPool& rPool, XclImpStream& rStrm) :
case 0x10:
{
sal_uInt8 nErr = rStrm.ReaduInt8();
- // TODO: Map the error code from xls to calc.
- mxCached->PutError(nErr, nCol, nRow);
+ // Map the error code from xls to calc.
+ mxCached->PutError(XclTools::GetScErrorCode(nErr), nCol, nRow);
rStrm.Ignore(7);
}
break;
More information about the Libreoffice-commits
mailing list