summaryrefslogtreecommitdiff
path: root/basic/source/comp/token.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-04 13:56:13 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 11:21:25 +0200
commite9c4ee996d5a6bf895072613ac4e488346ee5b05 (patch)
treed2137ca122fea2aca4fbcf950577fb650bb4852e /basic/source/comp/token.cxx
parent03995a6beaaabee40ec8ae718fad309238ca446f (diff)
remove unnecessary use of OUString constructor in BASIC module
Change-Id: Iee86ce9200285647d5031cb2f89266a52704dd44
Diffstat (limited to 'basic/source/comp/token.cxx')
-rw-r--r--basic/source/comp/token.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx
index bf5231a0a571..bc0519dfeb00 100644
--- a/basic/source/comp/token.cxx
+++ b/basic/source/comp/token.cxx
@@ -286,13 +286,13 @@ const OUString& SbiTokenizer::Symbol( SbiToken t )
switch( t )
{
case NEG :
- aSym = OUString("-");
+ aSym = "-";
return aSym;
case EOS :
- aSym = OUString(":/CRLF");
+ aSym = ":/CRLF";
return aSym;
case EOLN :
- aSym = OUString("CRLF");
+ aSym = "CRLF";
return aSym;
default:
break;
@@ -309,7 +309,7 @@ const OUString& SbiTokenizer::Symbol( SbiToken t )
const sal_Unicode *p = aSym.getStr();
if (*p <= ' ')
{
- aSym = OUString("???");
+ aSym = "???";
}
return aSym;
}