From 8cfa7f4dc00f3dd37e57917ef25c806b0e9e6e73 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Mar 2019 14:52:05 +0200 Subject: add more append methods to *StringBuffer which performs the append without needing the creation of a temporary *String Change-Id: If9ad3222275f26659db2e7df8d34f068977c4d17 Reviewed-on: https://gerrit.libreoffice.org/69826 Tested-by: Jenkins Reviewed-by: Noel Grandin --- ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx index 531ab229f976..67020fa20272 100644 --- a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx +++ b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx @@ -64,12 +64,12 @@ namespace inXML[ end - 1 ] == '/' ) { // copy from original buffer - preserve case. - buf.append( in.copy( start, end - start ) ); + buf.append( in, start, end - start ); } else { // copy from original buffer - preserve case. - buf.append( in.copy( start, end - start + 4 ) ); + buf.append( in, start, end - start + 4 ); } start = end + 4; end = inXML.indexOf( "dav:", start ); -- cgit