summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;