summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basic/source/sbx/sbxstr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxstr.cxx b/basic/source/sbx/sbxstr.cxx
index ded077a6c4fd..bfd2b6223f79 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;