ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 36f143d59492be24d0b275d728f2c151e9123075
Author: Matúš Kukan <matus.ku...@collabora.com>
Date:   Tue Mar 11 16:00:03 2014 +0100

    webdav: Use plain OStringBuffer here, otherwise wrong string is created.
    
    ..with "true" instead of thePropName.name and thePropName.nspace
    which obviously breaks things.
    
    Change-Id: I6568e6a98c1793ebbe8ab1864bd8ad3995eee09c

diff --git a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx 
b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
index 557a0e7..ef9e16d 100644
--- a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
+++ b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
@@ -23,7 +23,7 @@
 
 #include "webdavresponseparser.hxx"
 #include <comphelper/seqstream.hxx>
-#include <rtl/ustrbuf.hxx>
+#include <rtl/strbuf.hxx>
 
 
 using namespace com::sun::star;
@@ -95,7 +95,7 @@ serf_bucket_t * 
SerfPropFindReqProcImpl::createSerfRequestBucket( serf_request_t
     {
         // TODO is it really needed a Unicode string buffer?
         // All properties and property names aren't supposed to be ASCII?
-        rtl::OUStringBuffer aBuffer;
+        OStringBuffer aBuffer;
         aBuffer.append( PROPFIND_HEADER );
 
         // create and fill body bucket with requested properties
@@ -135,7 +135,7 @@ serf_bucket_t * 
SerfPropFindReqProcImpl::createSerfRequestBucket( serf_request_t
         }
 
         aBuffer.append( PROPFIND_TRAILER );
-        aBodyText = rtl::OUStringToOString( aBuffer.makeStringAndClear(), 
RTL_TEXTENCODING_UTF8 );
+        aBodyText = aBuffer.makeStringAndClear();
         body_bkt = serf_bucket_simple_copy_create( aBodyText.getStr(),
                                                    aBodyText.getLength(),
                                                    pSerfBucketAlloc );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to