diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /mysqlc/source/mysqlc_driver.hxx | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff) |
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'mysqlc/source/mysqlc_driver.hxx')
-rw-r--r-- | mysqlc/source/mysqlc_driver.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mysqlc/source/mysqlc_driver.hxx b/mysqlc/source/mysqlc_driver.hxx index c66748dab851..e73e7aeab7d8 100644 --- a/mysqlc/source/mysqlc_driver.hxx +++ b/mysqlc/source/mysqlc_driver.hxx @@ -78,26 +78,26 @@ namespace connectivity MysqlCDriver(const Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory); // OComponentHelper - void SAL_CALL disposing(void); + void SAL_CALL disposing(void) SAL_OVERRIDE; // XInterface static OUString getImplementationName_Static() throw(RuntimeException); static Sequence< OUString > getSupportedServiceNames_Static() throw(RuntimeException); // XServiceInfo - OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception); - sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(RuntimeException, std::exception); - Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception); + OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) SAL_OVERRIDE; + sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(RuntimeException, std::exception) SAL_OVERRIDE; + Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) SAL_OVERRIDE; // XDriver Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL connect(const OUString& url, const Sequence< ::com::sun::star::beans::PropertyValue >& info) - throw(SQLException, RuntimeException, std::exception); + throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - sal_Bool SAL_CALL acceptsURL(const OUString& url) throw(SQLException, RuntimeException, std::exception); + sal_Bool SAL_CALL acceptsURL(const OUString& url) throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; Sequence< ::com::sun::star::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(const OUString& url, const Sequence< ::com::sun::star::beans::PropertyValue >& info) - throw(SQLException, RuntimeException, std::exception); + throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - sal_Int32 SAL_CALL getMajorVersion() throw(RuntimeException, std::exception); - sal_Int32 SAL_CALL getMinorVersion() throw(RuntimeException, std::exception); + sal_Int32 SAL_CALL getMajorVersion() throw(RuntimeException, std::exception) SAL_OVERRIDE; + sal_Int32 SAL_CALL getMinorVersion() throw(RuntimeException, std::exception) SAL_OVERRIDE; inline Reference< ::com::sun::star::lang::XMultiServiceFactory > getFactory() const { return m_xFactory; } |