From e52779d2f8722c713f72aedbf475267440d729f0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Nov 2013 14:00:40 +0200 Subject: remove unnecessary use of OUString constructor Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71 --- connectivity/source/drivers/evoab2/NConnection.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'connectivity/source/drivers/evoab2') 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 -- cgit v1.2.3