basic/source/sbx/sbxstr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3b585737ff6bda7d28dd293465f5061ad5006f6e Author: LeMoyne Castle <lemoyne.cas...@gmail.com> Date: Fri Mar 6 01:15:12 2015 -0700 convert error number to string BASIC error type was printing as "Error "+ odd char instead of "Error " + error number Change-Id: I7407833626d6117f932cc29c6dab1a8a64c50b5a Reviewed-on: https://gerrit.libreoffice.org/14776 Reviewed-by: Tor Lillqvist <t...@collabora.com> Tested-by: Tor Lillqvist <t...@collabora.com> diff --git a/basic/source/sbx/sbxstr.cxx b/basic/source/sbx/sbxstr.cxx index ded077a..bfd2b62 100644 --- a/basic/source/sbx/sbxstr.cxx +++ b/basic/source/sbx/sbxstr.cxx @@ -102,7 +102,7 @@ OUString ImpGetString( const SbxValues* p ) case SbxERROR: // Here the String "Error n" is generated aRes = SbxRes( STRING_ERRORMSG ); - aRes += OUString( p->nUShort ); break; + aRes += OUString::number(p->nUShort); break; case SbxDATE: ImpPutDate( &aTmp, p->nDouble ); break; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits