[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sc/source
Eike Rathke
erack at redhat.com
Tue Jun 5 10:39:28 UTC 2018
sc/source/core/data/global.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b00965c5564f517eca0bb7a870c89d4c53b72fc7
Author: Eike Rathke <erack at 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 <erack at redhat.com>
Tested-by: Eike Rathke <erack at 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);
More information about the Libreoffice-commits
mailing list