From ebc0a15515c2e29259a7e229cfbdfb5d26fc3006 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 28 May 2014 12:50:02 +0200 Subject: remove more unnecesary OUString constructor use when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac --- ucb/source/core/FileAccess.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ucb') diff --git a/ucb/source/core/FileAccess.cxx b/ucb/source/core/FileAccess.cxx index 8c96d49cd2a8..0e860e6bad11 100644 --- a/ucb/source/core/FileAccess.cxx +++ b/ucb/source/core/FileAccess.cxx @@ -245,8 +245,7 @@ void OFileAccess::transferImpl( const OUString& rSource, catch ( Exception const & ) { throw RuntimeException( - OUString( "OFileAccess::transferrImpl - Unable to obtain " - "destination folder URL!" ), + "OFileAccess::transferrImpl - Unable to obtain destination folder URL!", static_cast< cppu::OWeakObject * >( this ) ); } @@ -255,8 +254,7 @@ void OFileAccess::transferImpl( const OUString& rSource, } throw RuntimeException( - OUString( "OFileAccess::transferrImpl - Unable to obtain " - "destination folder URL!" ), + "OFileAccess::transferrImpl - Unable to obtain destination folder URL!", static_cast< cppu::OWeakObject * >( this ) ); } -- cgit