diff options
Diffstat (limited to 'connectivity/source/drivers/hsqldb/HTerminateListener.cxx')
-rw-r--r-- | connectivity/source/drivers/hsqldb/HTerminateListener.cxx | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/connectivity/source/drivers/hsqldb/HTerminateListener.cxx b/connectivity/source/drivers/hsqldb/HTerminateListener.cxx index df325efb75e8..a9df5ccc9b9a 100644 --- a/connectivity/source/drivers/hsqldb/HTerminateListener.cxx +++ b/connectivity/source/drivers/hsqldb/HTerminateListener.cxx @@ -17,36 +17,29 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include "HTerminateListener.hxx" #include <hsqldb/HDriver.hxx> - namespace connectivity { - - using namespace hsqldb; - using namespace ::com::sun::star::uno; - using namespace ::com::sun::star::lang; +using namespace hsqldb; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::lang; // XEventListener -void SAL_CALL OConnectionController::disposing( const EventObject& /*Source*/ ) -{ -} +void SAL_CALL OConnectionController::disposing(const EventObject& /*Source*/) {} // XTerminateListener -void SAL_CALL OConnectionController::queryTermination( const EventObject& /*aEvent*/ ) +void SAL_CALL OConnectionController::queryTermination(const EventObject& /*aEvent*/) { m_pDriver->flushConnections(); } -void SAL_CALL OConnectionController::notifyTermination( const EventObject& /*aEvent*/ ) +void SAL_CALL OConnectionController::notifyTermination(const EventObject& /*aEvent*/) { m_pDriver->shutdownConnections(); } - -} // namespace connectivity - +} // namespace connectivity /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |