summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-06-05 10:26:18 +0200
committerEike Rathke <erack@redhat.com>2018-06-05 10:27:24 +0200
commitd3c650f6170894a87e59436cf48eba5622403e27 (patch)
treea015e4b2690d3c502042b7ca5c85febed6117d47
parente1c06cd3d932920b38781f02fc17bcb02ec7c701 (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.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);