diff options
Diffstat (limited to 'ucb/source/ucp/ext/ucpext_content.cxx')
-rw-r--r-- | ucb/source/ucp/ext/ucpext_content.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx index 823bdea776ab..757a0b49cec4 100644 --- a/ucb/source/ucp/ext/ucpext_content.cxx +++ b/ucb/source/ucp/ext/ucpext_content.cxx @@ -357,11 +357,7 @@ namespace ucb { namespace ucp { namespace ext const sal_Int32 nLastSep = sRelativeURL.lastIndexOf( '/' ); sRelativeURL = sRelativeURL.copy( 0, nLastSep != -1 ? nLastSep : 0 ); - OUStringBuffer aComposer; - aComposer.append( sRootURL ); - aComposer.append( sSeparatedExtensionId ); - aComposer.append( sRelativeURL ); - return aComposer.makeStringAndClear(); + return sRootURL + sSeparatedExtensionId + sRelativeURL; } default: |