diff options
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/file/bc.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index 4d0a7b26fc3e..2f88d029e721 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -728,7 +728,7 @@ BaseContent::setPropertyValues( "Invalid URL!" ); OUStringBuffer aBuf( - m_aUncPath.copy( 0, nLastSlash + 1 ) ); + m_aUncPath.subView( 0, nLastSlash + 1 ) ); if ( !NewTitle.isEmpty() ) { diff --git a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx index cf03274c5952..2b7eafb0210b 100644 --- a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx +++ b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx @@ -63,17 +63,17 @@ namespace inXML[ end - 1 ] == '/' ) { // copy from original buffer - preserve case. - buf.append( in.copy( start, end - start ) ); + buf.append( in.subView( start, end - start ) ); } else { // copy from original buffer - preserve case. - buf.append( in.copy( start, end - start + 4 ) ); + buf.append( in.subView( start, end - start + 4 ) ); } start = end + 4; end = inXML.indexOf( "dav:", start ); } - buf.append( inXML.copy( start ) ); + buf.append( inXML.subView( start ) ); return buf.makeStringAndClear(); } |