summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/gio/gio_content.cxx4
-rw-r--r--ucb/source/ucp/package/pkgdatasupplier.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
index 7b6c75953e93..053f30fec50a 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -757,8 +757,8 @@ css::uno::Sequence< css::uno::Any > Content::setPropertyValues(
{
if (nTitlePos > -1)
{
- OUString aNewURL = getParentURL();
- aNewURL += OUString( newName, strlen(newName), RTL_TEXTENCODING_UTF8 );
+ OUString aNewURL = getParentURL() +
+ OUString( newName, strlen(newName), RTL_TEXTENCODING_UTF8 );
css::uno::Reference< css::ucb::XContentIdentifier > xNewId
= new ::ucbhelper::ContentIdentifier( aNewURL );
diff --git a/ucb/source/ucp/package/pkgdatasupplier.cxx b/ucb/source/ucp/package/pkgdatasupplier.cxx
index ab8740d3ee64..71d58c777bb4 100644
--- a/ucb/source/ucp/package/pkgdatasupplier.cxx
+++ b/ucb/source/ucp/package/pkgdatasupplier.cxx
@@ -432,8 +432,8 @@ OUString DataSupplier::assembleChildURL( const OUString& aName )
if ( nPackageUrlEnd != aURL.getLength() - 1 )
aURL += "/";
- aURL += ::ucb_impl::urihelper::encodeSegment( aName );
- aURL += aContURL.copy( nParam );
+ aURL += ::ucb_impl::urihelper::encodeSegment( aName ) +
+ aContURL.copy( nParam );
}
else
{