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