diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-31 15:40:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-07 14:27:06 +0200 |
commit | 24857c46daf06553e8618de46a0f3ece27c32675 (patch) | |
tree | d20a2f914f97cb1d6a4d38c7c61c0524062bf862 /ucb/source/ucp/gvfs | |
parent | f6ad2b7a52266e7a4d039f9ba557476e6881fa5f (diff) |
remove unnecessary use of OUString constructor in UCB module
Change-Id: Ic75e5aad03d66590e78275304c766c1c00179387
Diffstat (limited to 'ucb/source/ucp/gvfs')
-rw-r--r-- | ucb/source/ucp/gvfs/gvfs_content.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx b/ucb/source/ucp/gvfs/gvfs_content.cxx index ef97acc4a34c..a2e557332c81 100644 --- a/ucb/source/ucp/gvfs/gvfs_content.cxx +++ b/ucb/source/ucp/gvfs/gvfs_content.cxx @@ -245,7 +245,7 @@ uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames() throw( uno::RuntimeException ) { uno::Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[ 0 ] = OUString( "com.sun.star.ucb.GnomeVFSContent" ); + aSNS.getArray()[ 0 ] = "com.sun.star.ucb.GnomeVFSContent"; return aSNS; } @@ -538,7 +538,7 @@ OUString Content::getParentURL() nPos1 = aURL.lastIndexOf( '/', nPos1 ); if ( nPos1 != -1 ) - aParentURL = OUString( aURL.copy( 0, nPos + 1 ) ); + aParentURL = aURL.copy( 0, nPos + 1 ); #if OSL_DEBUG_LEVEL > 1 g_warning ("getParentURL '%s' -> '%s'", @@ -805,7 +805,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues( g_warning ("Set new name to '%s'", newName); #endif - aEvent.PropertyName = OUString("Title"); + aEvent.PropertyName = "Title"; aEvent.OldValue = uno::makeAny( GnomeToOUString( newInfo.name ) ); aEvent.NewValue = uno::makeAny( aNewTitle ); aChanges.getArray()[ nChanged ] = aEvent; |