summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/DAVProperties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav/DAVProperties.cxx')
-rw-r--r--ucb/source/ucp/webdav/DAVProperties.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/DAVProperties.cxx b/ucb/source/ucp/webdav/DAVProperties.cxx
index 4162f4f6db09..34537d29e663 100644
--- a/ucb/source/ucp/webdav/DAVProperties.cxx
+++ b/ucb/source/ucp/webdav/DAVProperties.cxx
@@ -113,8 +113,10 @@ void DAVProperties::createUCBPropName( const char * nspace,
const char * name,
OUString & rFullName )
{
- OUString aNameSpace = OUString::fromUtf8( nspace );
- OUString aName = OUString::fromUtf8( name );
+ OUString aNameSpace
+ = OStringToOUString( nspace, RTL_TEXTENCODING_UTF8 );
+ OUString aName
+ = OStringToOUString( name, RTL_TEXTENCODING_UTF8 );
if ( !aNameSpace.getLength() )
{