diff options
Diffstat (limited to 'ucb/source/ucp/webdav/DAVProperties.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/DAVProperties.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav/DAVProperties.cxx b/ucb/source/ucp/webdav/DAVProperties.cxx index 34537d29e663..4162f4f6db09 100644 --- a/ucb/source/ucp/webdav/DAVProperties.cxx +++ b/ucb/source/ucp/webdav/DAVProperties.cxx @@ -113,10 +113,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.getLength() ) { |