diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-11 17:16:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-11 17:16:52 +0200 |
commit | d4b8fe32f5763cd3c768aa939178c099b0bf7a19 (patch) | |
tree | 1a6f1a7225ac3fa590b853264842c399b3bd74c7 /connectivity/source/drivers/evoab2 | |
parent | 8755eb0274dc71acfc4d589e1fe5cefd34b77cec (diff) |
Clean up function declarations and some unused functions
Change-Id: I4c63cd304908ce0e8ae3f9938d7323225dd314a5
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r-- | connectivity/source/drivers/evoab2/NConnection.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
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<OEvoabConnection, OConnection_BASE>( (::cppu::OWeakObject*)(&_rDriver), this ) ,m_rDriver(_rDriver) |