summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-12 15:49:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-13 06:18:18 +0000
commit757fd37747fd59091fa17432e8c8858b8a207a84 (patch)
tree197e11fefbd38b56734b290de63dc6469f176165
parent2cfcf12836afe5437b0fd8720bde3a997aae58ac (diff)
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@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--sc/source/filter/excel/xilink.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx
index 7ad8854493da..6a5c2bf334f5 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;