sc/source/core/data/global.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b00965c5564f517eca0bb7a870c89d4c53b72fc7 Author: Eike Rathke <er...@redhat.com> Date: Tue Jun 5 10:26:18 2018 +0200 Append error number if no message available "Err:###" instead of just "Err:" in the status bar for default unspecific message. Change-Id: Ic1a07e29e1f5eed4ce1ed9300c1f848c7380002e (cherry picked from commit d3c650f6170894a87e59436cf48eba5622403e27) Reviewed-on: https://gerrit.libreoffice.org/55315 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.com> 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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits