diff options
Diffstat (limited to 'sc/source/core/tool/interpr7.cxx')
-rw-r--r-- | sc/source/core/tool/interpr7.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx index 8131a5465d52..66ffd19f80e0 100644 --- a/sc/source/core/tool/interpr7.cxx +++ b/sc/source/core/tool/interpr7.cxx @@ -93,13 +93,13 @@ void ScInterpreter::ScFilterXML() xmlNsPtr ns = (xmlNsPtr)pNodeSet->nodeTab[0]; xmlNodePtr cur = (xmlNodePtr)ns->next; boost::shared_ptr<xmlChar> pChar2(xmlNodeGetContent(cur), xmlFree); - aResult = OStringToOUString(OString((char*)pChar2.get()), RTL_TEXTENCODING_UTF8); + aResult = OUString::fromUtf8(OString((char*)pChar2.get())); } else { xmlNodePtr cur = pNodeSet->nodeTab[0]; boost::shared_ptr<xmlChar> pChar2(xmlNodeGetContent(cur), xmlFree); - aResult = OStringToOUString(OString((char*)pChar2.get()), RTL_TEXTENCODING_UTF8); + aResult = OUString::fromUtf8(OString((char*)pChar2.get())); } } else @@ -198,7 +198,7 @@ void ScInterpreter::ScWebservice() xStream->closeInput(); - OUString aContent = OStringToOUString( aBuffer.makeStringAndClear(), RTL_TEXTENCODING_UTF8 ); + OUString aContent = OUString::fromUtf8( aBuffer.makeStringAndClear() ); PushString( aContent ); } } |