diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-06 07:45:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-06 13:51:10 +0200 |
commit | 05050cdb23de586870bf479a9df5ced06828d498 (patch) | |
tree | a34c3bba9a921a5e9abf23d5757c15dfaea0ceac /connectivity/workben | |
parent | Bin unused include files, thanks to Andrea Gelmini (diff) | |
download | core-05050cdb23de586870bf479a9df5ced06828d498.tar.gz core-05050cdb23de586870bf479a9df5ced06828d498.zip |
use the new OUString::fromUtf8 method
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
Diffstat (limited to 'connectivity/workben')
-rw-r--r-- | connectivity/workben/iniParser/main.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/workben/iniParser/main.cxx b/connectivity/workben/iniParser/main.cxx index e029b4acc900..f19719d84bfd 100644 --- a/connectivity/workben/iniParser/main.cxx +++ b/connectivity/workben/iniParser/main.cxx @@ -102,8 +102,7 @@ public: struct ini_NameValue nameValue; nameValue.sName = OStringToOUString( line.copy(0,nIndex).trim(), RTL_TEXTENCODING_ASCII_US ); - nameValue.sValue = OStringToOUString( - line.copy(nIndex+1).trim(), RTL_TEXTENCODING_UTF8 ); + nameValue.sValue = OUString::fromUtf8(line.copy(nIndex+1).trim()); aSection->lList.push_back(nameValue); |