From d4b8fe32f5763cd3c768aa939178c099b0bf7a19 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 11 Apr 2014 17:16:52 +0200 Subject: Clean up function declarations and some unused functions Change-Id: I4c63cd304908ce0e8ae3f9938d7323225dd314a5 --- connectivity/source/drivers/evoab2/NConnection.cxx | 25 ---------------------- 1 file changed, 25 deletions(-) (limited to 'connectivity/source/drivers/evoab2') diff --git a/connectivity/source/drivers/evoab2/NConnection.cxx b/connectivity/source/drivers/evoab2/NConnection.cxx index fd522c0f0f88..67204db0f049 100644 --- a/connectivity/source/drivers/evoab2/NConnection.cxx +++ b/connectivity/source/drivers/evoab2/NConnection.cxx @@ -40,31 +40,6 @@ using namespace ::com::sun::star::sdbcx; using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::lang; -OUString implGetExceptionMsg( Exception& e, const OUString& aExceptionType_ ) -{ - OUString aExceptionType = aExceptionType_; - if( aExceptionType.isEmpty() ) - aExceptionType = "Unknown"; - - OUString aTypeLine( "\nType: " ); - aTypeLine += aExceptionType; - - OUString aMessageLine( "\nMessage: " ); - aMessageLine += e.Message; - - OUString aMsg(aTypeLine); - aMsg += aMessageLine; - return aMsg; -} - - // Exception type unknown -OUString implGetExceptionMsg( Exception& e ) -{ - OUString aMsg = implGetExceptionMsg( e, OUString() ); - return aMsg; -} - - OEvoabConnection::OEvoabConnection( OEvoabDriver& _rDriver ) :OSubComponent( (::cppu::OWeakObject*)(&_rDriver), this ) ,m_rDriver(_rDriver) -- cgit