diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 11:16:07 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-17 12:26:32 +0000 |
commit | d9e627039245dc42f003a7cf75642f619a621513 (patch) | |
tree | d10188cbdf0808f4c4c6663025e15bd4bac47284 /sw/inc | |
parent | be3d2309f0376914b0135046f95b0bb592cf5078 (diff) |
loplugin:unnecessaryvirtual
update the plugin with lessons learned from the mergeclasses plugin and
re-run it
Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711
Reviewed-on: https://gerrit.libreoffice.org/20015
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/unotbl.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 73770e381484..c04b006e3720 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -114,11 +114,11 @@ public: virtual OUString SAL_CALL getFormula( ) throw(css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL setFormula( const OUString& aFormula ) throw(css::uno::RuntimeException, std::exception) override; virtual double SAL_CALL getValue( ) throw(css::uno::RuntimeException, std::exception) override; - virtual double SAL_CALL getValue( ) const throw(css::uno::RuntimeException, std::exception) + double SAL_CALL getValue( ) const throw(css::uno::RuntimeException, std::exception) { return const_cast<SwXCell*>(this)->getValue(); }; virtual void SAL_CALL setValue( double nValue ) throw(css::uno::RuntimeException, std::exception) override; virtual css::table::CellContentType SAL_CALL getType( ) throw(css::uno::RuntimeException, std::exception) override; - virtual css::table::CellContentType SAL_CALL getType( ) const throw(css::uno::RuntimeException, std::exception) + css::table::CellContentType SAL_CALL getType( ) const throw(css::uno::RuntimeException, std::exception) { return const_cast<SwXCell*>(this)->getType(); }; virtual sal_Int32 SAL_CALL getError( ) throw(css::uno::RuntimeException, std::exception) override; |