summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-neon
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 57ffe1002026..c10796a48e79 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -2021,7 +2021,7 @@ namespace {
void runResponseHeaderHandler( void * userdata,
const char * value )
{
- OUString aHeader( OUString::createFromAscii( value ) );
+ OUString aHeader(value, strlen(value), RTL_TEXTENCODING_ASCII_US);
sal_Int32 nPos = aHeader.indexOf( ':' );
if ( nPos != -1 )