diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-01-31 02:18:11 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-01-31 02:29:23 +0900 |
commit | 6073c31fe8c500066bb033cdb646e9d1cca9b94a (patch) | |
tree | 095e17d1abff7e6196211b3822ed92db27cfa6c5 /basic/source/comp/scanner.cxx | |
parent | 458d56d9b35f2ecb2eea2589737079390b10ee26 (diff) |
Replaced String by rtl::OUString in SbiScanner
Diffstat (limited to 'basic/source/comp/scanner.cxx')
-rw-r--r-- | basic/source/comp/scanner.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx index 5768ed44388e..872bdd7d9a85 100644 --- a/basic/source/comp/scanner.cxx +++ b/basic/source/comp/scanner.cxx @@ -369,7 +369,7 @@ bool SbiScanner::NextSym() aSym = p; bNumber = true; if( comma > 1 || exp > 1 ) - { aError = '.'; + { aError = ::rtl::OUString('.'); GenError( SbERR_BAD_CHAR_IN_NUMBER ); } // #57844 use localized function @@ -437,7 +437,7 @@ bool SbiScanner::NextSym() *p++ = ch; else { - aError = ch; + aError = ::rtl::OUString(ch); GenError( SbERR_BAD_CHAR_IN_NUMBER ); } } @@ -474,7 +474,7 @@ bool SbiScanner::NextSym() { pLine++; nCol++; if( *pLine != cSep || cSep == ']' ) break; - } else aError = cSep, GenError( SbERR_EXPECTED ); + } else aError = ::rtl::OUString(cSep), GenError( SbERR_EXPECTED ); } // If VBA Interop then doen't eat the [] chars if ( cSep == ']' && bVBASupportOn ) |