diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-28 12:50:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-29 09:01:40 +0200 |
commit | ebc0a15515c2e29259a7e229cfbdfb5d26fc3006 (patch) | |
tree | 2ce9446ed312a1a7aed53183b19ecc9fefabea8a /ucb | |
parent | f0ae48b684e89acd7088c31a8feff5fc03d51105 (diff) |
remove more unnecesary OUString constructor use
when throwing exceptions
Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/FileAccess.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
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 ) ); } |