[Libreoffice-commits] core.git: ucb/source
Stephan Bergmann
sbergman at redhat.com
Fri Aug 16 02:05:15 PDT 2013
ucb/source/ucp/webdav-neon/DAVProperties.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 27e7da167052900214e61e6792da93e3ba1310f5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Aug 16 11:04:51 2013 +0200
sPropName is needed after all
Change-Id: Ib48606425edb5f267615f4a15028b15e8fd00d5d
diff --git a/ucb/source/ucp/webdav-neon/DAVProperties.cxx b/ucb/source/ucp/webdav-neon/DAVProperties.cxx
index 8015b12..7abdb6f 100644
--- a/ucb/source/ucp/webdav-neon/DAVProperties.cxx
+++ b/ucb/source/ucp/webdav-neon/DAVProperties.cxx
@@ -183,6 +183,8 @@ bool DAVProperties::isUCBSpecialProperty(
if ( nEnd <= nStart ) // incl. -1 for "not found"
return false;
+ OUString sPropName( rFullName.copy( nStart, nEnd - nStart ) );
+
// TODO skip whitespaces?
if ( !rFullName.match( "xmlns:prop=\"", ++nEnd ) )
return false;
@@ -198,6 +200,7 @@ bool DAVProperties::isUCBSpecialProperty(
rParsedName = rFullName.copy( nStart, nEnd - nStart );
if ( !rParsedName.endsWith( "/" ) )
rParsedName += "/";
+ rParsedName += sPropName;
return rParsedName.getLength();
}
More information about the Libreoffice-commits
mailing list