From 5b1337f7b2e1f79d78d4bf6559bd84f1ebb934bf Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 15 May 2015 13:27:19 +0200 Subject: tdf#62475: partial handmade fixes Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos --- connectivity/source/manager/mdrivermanager.cxx | 9 --------- connectivity/source/manager/mdrivermanager.hxx | 5 +---- connectivity/source/manager/mregistration.cxx | 3 --- 3 files changed, 1 insertion(+), 16 deletions(-) (limited to 'connectivity/source/manager') diff --git a/connectivity/source/manager/mdrivermanager.cxx b/connectivity/source/manager/mdrivermanager.cxx index 6e90f651b31a..0e773b2c998a 100644 --- a/connectivity/source/manager/mdrivermanager.cxx +++ b/connectivity/source/manager/mdrivermanager.cxx @@ -58,9 +58,6 @@ void throwNoSuchElementException() throw(NoSuchElementException) throw NoSuchElementException(); } - -//= ODriverEnumeration - class ODriverEnumeration : public ::cppu::WeakImplHelper1< XEnumeration > { friend class OSDBCDriverManager; @@ -108,9 +105,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W } - //= helper - - /// an STL functor which ensures that a SdbcDriver described by a DriverAccess is loaded struct EnsureDriver : public ::std::unary_function< DriverAccess, DriverAccess > { @@ -258,9 +252,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W }; -//= OSDBCDriverManager - - OSDBCDriverManager::OSDBCDriverManager( const Reference< XComponentContext >& _rxContext ) :m_xContext( _rxContext ) ,m_aEventLogger( _rxContext, "org.openoffice.logging.sdbc.DriverManager" ) diff --git a/connectivity/source/manager/mdrivermanager.hxx b/connectivity/source/manager/mdrivermanager.hxx index e2fa4191f64c..ec4dea8baeb2 100644 --- a/connectivity/source/manager/mdrivermanager.hxx +++ b/connectivity/source/manager/mdrivermanager.hxx @@ -40,9 +40,6 @@ namespace drivermanager { - - //= various - typedef std::map< OUString, css::uno::Reference< css::sdbc::XDriver > > DriverCollection; struct DriverAccess @@ -53,7 +50,7 @@ namespace drivermanager }; - //= OSDBCDriverManager - the one-instance service for managing SDBC drivers + // OSDBCDriverManager - the one-instance service for managing SDBC drivers typedef ::cppu::WeakImplHelper3 < ::com::sun::star::sdbc::XDriverManager2 , ::com::sun::star::lang::XServiceInfo diff --git a/connectivity/source/manager/mregistration.cxx b/connectivity/source/manager/mregistration.cxx index ec11e696ca61..038360e6e7d0 100644 --- a/connectivity/source/manager/mregistration.cxx +++ b/connectivity/source/manager/mregistration.cxx @@ -27,9 +27,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; - -//= registration - extern "C" { -- cgit