diff options
author | Eike Rathke <erack@redhat.com> | 2018-06-05 10:26:18 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-06-05 10:27:24 +0200 |
commit | d3c650f6170894a87e59436cf48eba5622403e27 (patch) | |
tree | a015e4b2690d3c502042b7ca5c85febed6117d47 | |
parent | e1c06cd3d932920b38781f02fc17bcb02ec7c701 (diff) |
Append error number if no message available
"Err:###" instead of just "Err:" in the status bar for default
unspecific message.
Change-Id: Ic1a07e29e1f5eed4ce1ed9300c1f848c7380002e
-rw-r--r-- | sc/source/core/data/global.cxx | 2 |
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); |