summaryrefslogtreecommitdiff
path: root/connectivity/source/manager
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-05-15 13:27:19 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-05-15 17:55:15 +0000
commit5b1337f7b2e1f79d78d4bf6559bd84f1ebb934bf (patch)
tree82704da8367f25963d08c570a4fa57e30e4ca839 /connectivity/source/manager
parent6fbda0905d4e721392038bfad9e173e180f788ee (diff)
tdf#62475: partial handmade fixes
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'connectivity/source/manager')
-rw-r--r--connectivity/source/manager/mdrivermanager.cxx9
-rw-r--r--connectivity/source/manager/mdrivermanager.hxx5
-rw-r--r--connectivity/source/manager/mregistration.cxx3
3 files changed, 1 insertions, 16 deletions
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"
{