summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/core/ucbcmds.cxx2
-rw-r--r--ucb/source/core/ucbstore.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx
index c317bddc9437..cdd27d491772 100644
--- a/ucb/source/core/ucbcmds.cxx
+++ b/ucb/source/core/ucbcmds.cxx
@@ -345,7 +345,7 @@ OUString createDesiredName(
if ( nPos != -1 )
aName = aName.copy( 0, nPos );
}
- return OUString( aName );
+ return aName;
}
OUString createDesiredName(
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx
index bbd120d9819d..18f3af60e1c1 100644
--- a/ucb/source/core/ucbstore.cxx
+++ b/ucb/source/core/ucbstore.cxx
@@ -95,7 +95,7 @@ OUString makeHierarchalNameSegment( const OUString & rIn )
}
aBuffer.append( "']" );
- return OUString( aBuffer.makeStringAndClear() );
+ return aBuffer.makeStringAndClear();
}
#define STORE_CONTENTPROPERTIES_KEY "/org.openoffice.ucb.Store/ContentProperties"
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 6e808ebe07d2..2ba3c8601d09 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -2316,7 +2316,7 @@ OUString NeonSession::makeAbsoluteURL( OUString const & rURL ) const
if ( !rURL.isEmpty() && rURL[ 0 ] != '/' )
{
// absolute.
- return OUString( rURL );
+ return rURL;
}
else
{
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 5e401027ace8..29b026db5165 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -1221,7 +1221,7 @@ OUString Content::getParentURL()
if ( nPos1 == -1 )
return OUString();
- return OUString( aURL.copy( 0, nPos + 1 ) );
+ return aURL.copy( 0, nPos + 1 );
}
@@ -3820,7 +3820,7 @@ Content::getBaseURI( const std::unique_ptr< DAVResourceAccess > & rResAccess )
}
}
- return OUString( rResAccess->getURL() );
+ return rResAccess->getURL();
}
// resource type is the type of the WebDAV resource