diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
commit | 567ef6d5782cdb729b49005caf6005610ce03e22 (patch) | |
tree | 7e3be1da41382e555d9091914ef7e064852a4fd4 /sc/source/core/inc | |
parent | c36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff) |
Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
Diffstat (limited to 'sc/source/core/inc')
-rw-r--r-- | sc/source/core/inc/addinlis.hxx | 10 | ||||
-rw-r--r-- | sc/source/core/inc/ddelink.hxx | 4 | ||||
-rw-r--r-- | sc/source/core/inc/doubleref.hxx | 36 |
3 files changed, 25 insertions, 25 deletions
diff --git a/sc/source/core/inc/addinlis.hxx b/sc/source/core/inc/addinlis.hxx index b9e0b154c545..0faee12d5db7 100644 --- a/sc/source/core/inc/addinlis.hxx +++ b/sc/source/core/inc/addinlis.hxx @@ -68,21 +68,21 @@ public: // XResultListener virtual void SAL_CALL modified( const ::com::sun::star::sheet::ResultEvent& aEvent ) - throw(::com::sun::star::uno::RuntimeException, std::exception); + throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XEventListener virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) - throw(::com::sun::star::uno::RuntimeException, std::exception); + throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XServiceInfo virtual OUString SAL_CALL getImplementationName() - throw(::com::sun::star::uno::RuntimeException, std::exception); + throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw(::com::sun::star::uno::RuntimeException, std::exception); + throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw(::com::sun::star::uno::RuntimeException, std::exception); + throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; }; #endif // SC_ADDINLIS_HXX diff --git a/sc/source/core/inc/ddelink.hxx b/sc/source/core/inc/ddelink.hxx index ea11846f5c22..cb0bd0369901 100644 --- a/sc/source/core/inc/ddelink.hxx +++ b/sc/source/core/inc/ddelink.hxx @@ -60,10 +60,10 @@ public: // overloaded by SvBaseLink: virtual ::sfx2::SvBaseLink::UpdateResult DataChanged( - const OUString& rMimeType, const ::com::sun::star::uno::Any & rValue ); + const OUString& rMimeType, const ::com::sun::star::uno::Any & rValue ) SAL_OVERRIDE; // overloaded by SvtBroadcaster: - virtual void ListenersGone(); + virtual void ListenersGone() SAL_OVERRIDE; // for interpreter: diff --git a/sc/source/core/inc/doubleref.hxx b/sc/source/core/inc/doubleref.hxx index 8d75bf3e0472..094da69e42b0 100644 --- a/sc/source/core/inc/doubleref.hxx +++ b/sc/source/core/inc/doubleref.hxx @@ -98,9 +98,9 @@ public: const ScRange& getRange() const; - virtual SCCOL getColSize() const; - virtual SCROW getRowSize() const; - virtual SCSIZE getVisibleDataCellCount() const; + virtual SCCOL getColSize() const SAL_OVERRIDE; + virtual SCROW getRowSize() const SAL_OVERRIDE; + virtual SCSIZE getVisibleDataCellCount() const SAL_OVERRIDE; /** * Get a string value of a specified cell position. Note that the @@ -110,9 +110,9 @@ public: * @param nCol column position (0 to column size-1) * @param nRow row position (0 to row size-1) */ - virtual OUString getString(SCCOL nCol, SCROW nRow) const; + virtual OUString getString(SCCOL nCol, SCROW nRow) const SAL_OVERRIDE; - virtual SCCOL getFirstFieldColumn() const; + virtual SCCOL getFirstFieldColumn() const SAL_OVERRIDE; /** * Get a <i>0-based</i> column index that corresponds with the passed field * index. Note that the field index passed as the 1st parameter is @@ -122,10 +122,10 @@ public: * * @return 0-based column index */ - virtual SCCOL findFieldColumn(SCCOL nIndex) const; - virtual SCCOL findFieldColumn(const OUString& rStr, sal_uInt16* pErr = NULL) const; - virtual ScDBQueryParamBase* createQueryParam(const ScDBRangeBase* pQueryRef) const; - virtual bool isRangeEqual(const ScRange& rRange) const; + virtual SCCOL findFieldColumn(SCCOL nIndex) const SAL_OVERRIDE; + virtual SCCOL findFieldColumn(const OUString& rStr, sal_uInt16* pErr = NULL) const SAL_OVERRIDE; + virtual ScDBQueryParamBase* createQueryParam(const ScDBRangeBase* pQueryRef) const SAL_OVERRIDE; + virtual bool isRangeEqual(const ScRange& rRange) const SAL_OVERRIDE; private: ScRange maRange; @@ -139,9 +139,9 @@ public: explicit ScDBExternalRange(ScDocument* pDoc, const ScMatrixRef& pMat); virtual ~ScDBExternalRange(); - virtual SCCOL getColSize() const; - virtual SCROW getRowSize() const; - virtual SCSIZE getVisibleDataCellCount() const; + virtual SCCOL getColSize() const SAL_OVERRIDE; + virtual SCROW getRowSize() const SAL_OVERRIDE; + virtual SCSIZE getVisibleDataCellCount() const SAL_OVERRIDE; /** * Get a string value of a specified cell position. Note that the @@ -151,9 +151,9 @@ public: * @param nCol column position (0 to column size-1) * @param nRow row position (0 to row size-1) */ - virtual OUString getString(SCCOL nCol, SCROW nRow) const; + virtual OUString getString(SCCOL nCol, SCROW nRow) const SAL_OVERRIDE; - virtual SCCOL getFirstFieldColumn() const; + virtual SCCOL getFirstFieldColumn() const SAL_OVERRIDE; /** * Get a <i>0-based</i> column index that corresponds with the passed field @@ -164,10 +164,10 @@ public: * * @return 0-based column index */ - virtual SCCOL findFieldColumn(SCCOL nIndex) const; - virtual SCCOL findFieldColumn(const OUString& rStr, sal_uInt16* pErr = NULL) const; - virtual ScDBQueryParamBase* createQueryParam(const ScDBRangeBase* pQueryRef) const; - virtual bool isRangeEqual(const ScRange& rRange) const; + virtual SCCOL findFieldColumn(SCCOL nIndex) const SAL_OVERRIDE; + virtual SCCOL findFieldColumn(const OUString& rStr, sal_uInt16* pErr = NULL) const SAL_OVERRIDE; + virtual ScDBQueryParamBase* createQueryParam(const ScDBRangeBase* pQueryRef) const SAL_OVERRIDE; + virtual bool isRangeEqual(const ScRange& rRange) const SAL_OVERRIDE; private: const ScMatrixRef mpMatrix; |