diff options
author | August Sodora <augsod@gmail.com> | 2011-10-18 14:50:21 -0400 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-21 10:08:57 +0100 |
commit | 034350a5097c2138311999b87da5621fe0d9d96e (patch) | |
tree | a1e3f29098a7057dbb25b1081ef2618df5a11403 /basic/source/comp/parser.cxx | |
parent | 1af9425e8239d1f7e3a12bf9979d190904f695cd (diff) |
String->OUString, with accompanying tests
Diffstat (limited to 'basic/source/comp/parser.cxx')
-rw-r--r-- | basic/source/comp/parser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx index b8fb78f366d0..965381e3f9a2 100644 --- a/basic/source/comp/parser.cxx +++ b/basic/source/comp/parser.cxx @@ -676,7 +676,7 @@ void SbiParser::DefXXX() while( !bAbort ) { if( Next() != SYMBOL ) break; - ch1 = aSym.ToUpperAscii().GetBuffer()[0]; + ch1 = aSym.toAsciiUpperCase()[0]; ch2 = 0; if( Peek() == MINUS ) { @@ -684,7 +684,7 @@ void SbiParser::DefXXX() if( Next() != SYMBOL ) Error( SbERR_SYMBOL_EXPECTED ); else { - ch2 = aSym.ToUpperAscii().GetBuffer()[0]; + ch2 = aSym.toAsciiUpperCase()[0]; if( ch2 < ch1 ) Error( SbERR_SYNTAX ), ch2 = 0; } } @@ -784,7 +784,7 @@ void SbiParser::Option() SbiToken eTok = Next(); if( eTok == BINARY ) bText = sal_False; - else if( eTok == SYMBOL && GetSym().EqualsIgnoreCaseAscii("text") ) + else if( eTok == SYMBOL && GetSym().equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("text")) ) bText = sal_True; else Error( SbERR_EXPECTED, "Text/Binary" ); |