summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/global.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index 2c3a98622d63..4e33090757f7 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -454,7 +454,7 @@ OUString ScGlobal::GetLongErrorString(FormulaError nErr)
pErrNumber = STR_LONG_ERR_NV;
break;
default:
- pErrNumber = STR_ERROR_STR;
+ return ScResId(STR_ERROR_STR) + OUString::number( static_cast<int>(nErr) );
break;
}
return ScResId(pErrNumber);