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 /connectivity/source/inc/mysql/YTable.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 'connectivity/source/inc/mysql/YTable.hxx')
-rw-r--r-- | connectivity/source/inc/mysql/YTable.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/connectivity/source/inc/mysql/YTable.hxx b/connectivity/source/inc/mysql/YTable.hxx index 46ba8f8d63ec..ba53a8bdb709 100644 --- a/connectivity/source/inc/mysql/YTable.hxx +++ b/connectivity/source/inc/mysql/YTable.hxx @@ -49,26 +49,26 @@ namespace connectivity @param _rNames The column names. */ - virtual sdbcx::OCollection* createColumns(const TStringVector& _rNames); + virtual sdbcx::OCollection* createColumns(const TStringVector& _rNames) SAL_OVERRIDE; /** creates the key collection for the table @param _rNames The key names. */ - virtual sdbcx::OCollection* createKeys(const TStringVector& _rNames); + virtual sdbcx::OCollection* createKeys(const TStringVector& _rNames) SAL_OVERRIDE; /** creates the index collection for the table @param _rNames The index names. */ - virtual sdbcx::OCollection* createIndexes(const TStringVector& _rNames); + virtual sdbcx::OCollection* createIndexes(const TStringVector& _rNames) SAL_OVERRIDE; /** Returns always "RENAME TABLE " even for views. * * \return The start of the rename statement. * @see http://dev.mysql.com/doc/refman/5.1/de/rename-table.html */ - virtual OUString getRenameStart() const; + virtual OUString getRenameStart() const SAL_OVERRIDE; /** used to implement the creation of the array helper which is shared amongst all instances of the class. This method needs to be implemented in derived classes. @@ -79,8 +79,8 @@ namespace connectivity assumes that you created an ::cppu::OPropertyArrayHelper when deleting s_pProps. @return an pointer to the newly created array helper. Must not be NULL. */ - virtual ::cppu::IPropertyArrayHelper* createArrayHelper(sal_Int32 nId) const; - virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper(); + virtual ::cppu::IPropertyArrayHelper* createArrayHelper(sal_Int32 nId) const SAL_OVERRIDE; + virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE; public: OMySQLTable( sdbcx::OCollection* _pTables, @@ -96,13 +96,13 @@ namespace connectivity ); // ODescriptor - virtual void construct(); + virtual void construct() SAL_OVERRIDE; // com::sun::star::lang::XUnoTunnel - virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception); + virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId(); // XAlterTable - virtual void SAL_CALL alterColumnByName( const OUString& colName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception); + virtual void SAL_CALL alterColumnByName( const OUString& colName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** returns the ALTER TABLE XXX statement */ OUString getAlterTableColumnPart(); @@ -112,7 +112,7 @@ namespace connectivity void alterDefaultValue(const OUString& _sNewDefault,const OUString& _rColName); void dropDefaultValue(const OUString& _sNewDefault); - virtual OUString getTypeCreatePattern() const; + virtual OUString getTypeCreatePattern() const SAL_OVERRIDE; }; } } |