diff options
Diffstat (limited to 'ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx b/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx index 56a4ca3c8513..0c80061aa8ed 100644 --- a/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx +++ b/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx @@ -193,7 +193,7 @@ static rtl::OUString encodeValue( const rtl::OUString & rValue ) else aResult.append( c ); } - return rtl::OUString( aResult ); + return aResult.makeStringAndClear(); } ////////////////////////////////////////////////////////////////////////// @@ -304,7 +304,7 @@ static rtl::OUString decodeValue( const rtl::OUString & rValue ) nPos++; } - return rtl::OUString( aResult ); + return aResult.makeStringAndClear(); } ////////////////////////////////////////////////////////////////////////// |