summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/dbase/DDriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/dbase/DDriver.cxx')
-rw-r--r--connectivity/source/drivers/dbase/DDriver.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/drivers/dbase/DDriver.cxx b/connectivity/source/drivers/dbase/DDriver.cxx
index 67748a843ae8..993b7abf7fd3 100644
--- a/connectivity/source/drivers/dbase/DDriver.cxx
+++ b/connectivity/source/drivers/dbase/DDriver.cxx
@@ -34,24 +34,24 @@ using namespace ::com::sun::star::lang;
// static ServiceInfo
-//------------------------------------------------------------------------------
+
OUString ODriver::getImplementationName_Static( ) throw(RuntimeException)
{
return OUString("com.sun.star.comp.sdbc.dbase.ODriver");
}
-//------------------------------------------------------------------
+
OUString SAL_CALL ODriver::getImplementationName( ) throw(RuntimeException)
{
return getImplementationName_Static();
}
-//------------------------------------------------------------------
+
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL connectivity::dbase::ODriver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) throw( ::com::sun::star::uno::Exception )
{
return *(new ODriver( comphelper::getComponentContext(_rxFactory) ));
}
-// --------------------------------------------------------------------------------
+
Reference< XConnection > SAL_CALL ODriver::connect( const OUString& url, const Sequence< PropertyValue >& info ) throw(SQLException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -68,12 +68,12 @@ Reference< XConnection > SAL_CALL ODriver::connect( const OUString& url, const S
return xCon;
}
-// --------------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODriver::acceptsURL( const OUString& url ) throw(SQLException, RuntimeException)
{
return url.startsWith("sdbc:dbase:");
}
-// -----------------------------------------------------------------------------
+
Sequence< DriverPropertyInfo > SAL_CALL ODriver::getPropertyInfo( const OUString& url, const Sequence< PropertyValue >& /*info*/ ) throw(SQLException, RuntimeException)
{
if ( acceptsURL(url) )
@@ -113,7 +113,7 @@ Sequence< DriverPropertyInfo > SAL_CALL ODriver::getPropertyInfo( const OUString
::dbtools::throwGenericSQLException(sMessage ,*this);
return Sequence< DriverPropertyInfo >();
}
-// -----------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */