diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-13 15:20:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-17 09:04:31 +0200 |
commit | 7f83faa795292333c1be6d99ed1b6eb305a066f9 (patch) | |
tree | 8f775376c2ec214d3bb6275dbb7c0a63684a0692 /formula/source/ui/dlg/FormulaHelper.cxx | |
parent | 41df3400eeb720ea67320c149e10c15e76c52bcb (diff) |
convert the rest of the formula module from String to OUString
Change-Id: I27ee0cf3e9f97e94234c5e32080bf102b4cf0dc9
Diffstat (limited to 'formula/source/ui/dlg/FormulaHelper.cxx')
-rw-r--r-- | formula/source/ui/dlg/FormulaHelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/formula/source/ui/dlg/FormulaHelper.cxx b/formula/source/ui/dlg/FormulaHelper.cxx index 830e50c42dd1..dfaf45053248 100644 --- a/formula/source/ui/dlg/FormulaHelper.cxx +++ b/formula/source/ui/dlg/FormulaHelper.cxx @@ -175,14 +175,14 @@ void FormulaHelper::GetArgStrings( ::std::vector< OUString >& _rArgs, //------------------------------------------------------------------------ -inline sal_Bool IsFormulaText( const CharClass* _pCharClass,const String& rStr, xub_StrLen nPos ) +inline sal_Bool IsFormulaText( const CharClass* _pCharClass,const OUString& rStr, xub_StrLen nPos ) { if( _pCharClass->isLetterNumeric( rStr, nPos ) ) return sal_True; else { // In internationalized versions function names may contain a dot // and in every version also an underscore... ;-) - sal_Unicode c = rStr.GetChar(nPos); + sal_Unicode c = rStr[nPos]; return c == '.' || c == '_'; } |