diff options
Diffstat (limited to 'connectivity/source/inc/file/FDriver.hxx')
-rw-r--r-- | connectivity/source/inc/file/FDriver.hxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/connectivity/source/inc/file/FDriver.hxx b/connectivity/source/inc/file/FDriver.hxx index 61037352071e..0351c59ca27a 100644 --- a/connectivity/source/inc/file/FDriver.hxx +++ b/connectivity/source/inc/file/FDriver.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_FILE_FDRIVER_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_FILE_FDRIVER_HXX +#pragma once #include <com/sun/star/sdbc/XDriver.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -27,9 +26,7 @@ #include <connectivity/CommonTools.hxx> #include <file/filedllapi.hxx> -namespace connectivity -{ - namespace file +namespace connectivity::file { typedef ::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo, @@ -45,7 +42,7 @@ namespace connectivity // for this Driver css::uno::Reference< css::uno::XComponentContext > m_xContext; public: - OFileDriver(const css::uno::Reference< css::uno::XComponentContext >& _rxContext); + OFileDriver(css::uno::Reference< css::uno::XComponentContext > _xContext); // OComponentHelper virtual void SAL_CALL disposing() override; @@ -68,10 +65,8 @@ namespace connectivity const css::uno::Reference< css::uno::XComponentContext >& getComponentContext() const { return m_xContext; } }; - } } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_FILE_FDRIVER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |