summaryrefslogtreecommitdiffstats
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-28 12:50:02 +0200
committerNoel Grandin <noel@peralex.com>2014-05-29 09:01:40 +0200
commitebc0a15515c2e29259a7e229cfbdfb5d26fc3006 (patch)
tree2ce9446ed312a1a7aed53183b19ecc9fefabea8a /ucb
parentremove unnecessary NULL parameter passed to UNO Exception (diff)
downloadcore-ebc0a15515c2e29259a7e229cfbdfb5d26fc3006.tar.gz
core-ebc0a15515c2e29259a7e229cfbdfb5d26fc3006.zip
remove more unnecesary OUString constructor use
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/core/FileAccess.cxx6
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 ) );
}