summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-04 14:00:40 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 11:21:26 +0200
commite52779d2f8722c713f72aedbf475267440d729f0 (patch)
tree0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /connectivity/source/drivers/evoab2
parente9c4ee996d5a6bf895072613ac4e488346ee5b05 (diff)
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NConnection.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/evoab2/NConnection.cxx b/connectivity/source/drivers/evoab2/NConnection.cxx
index b4424a6c3669..2f3309ec9378 100644
--- a/connectivity/source/drivers/evoab2/NConnection.cxx
+++ b/connectivity/source/drivers/evoab2/NConnection.cxx
@@ -44,17 +44,17 @@ OUString implGetExceptionMsg( Exception& e, const OUString& aExceptionType_ )
{
OUString aExceptionType = aExceptionType_;
if( aExceptionType.isEmpty() )
- aExceptionType = OUString("Unknown") ;
+ aExceptionType = "Unknown";
OUString aTypeLine( "\nType: " );
aTypeLine += aExceptionType;
OUString aMessageLine( "\nMessage: " );
- aMessageLine += OUString( e.Message );
+ aMessageLine += e.Message;
OUString aMsg(aTypeLine);
aMsg += aMessageLine;
- return aMsg;
+ return aMsg;
}
// Exception type unknown