summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorTomoyuki Kubota <himajin100000@gmail.com>2019-04-20 22:46:27 +0900
committerMichael Stahl <Michael.Stahl@cib.de>2019-04-23 12:51:51 +0200
commit47d25dc5abe000ce751cb1e4dbd1f85f7198ca05 (patch)
tree7c0fd093b90efa7697fd8ce9459c459d86646ab7 /basic
parent3667031eb27620f86b7c1e281eae3543ef98175c (diff)
tdf#123043 make type character detection unicode-aware
Change-Id: I98886a7d13a43cc3202d45f96ceb5062f76f0784 Reviewed-on: https://gerrit.libreoffice.org/71013 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxvar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index ec67be889e3a..bab30af36989 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -220,7 +220,7 @@ void SbxVariable::SetName( const OUString& rName )
const OUString& SbxVariable::GetName( SbxNameType t ) const
{
- static const char cSuffixes[] = " %&!#@ $";
+ static const OUString cSuffixes { " %&!#@ $" };
if( t == SbxNameType::NONE )
{
return maName;