From 10cfa2abeec568d72fc1f6c110316e3be5336132 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 19 Oct 2016 08:33:05 +0200 Subject: [PATCH] starmath: clean up redundant virtual keywords in unofilter Change-Id: I97af23d22c0b4eb416172e9ebea9544541621cb0 Reviewed-on: https://gerrit.libreoffice.org/30031 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- starmath/source/unofilter.cxx | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/starmath/source/unofilter.cxx b/starmath/source/unofilter.cxx index 8caf72ef308a..95fc3e8e0968 100644 --- a/starmath/source/unofilter.cxx +++ b/starmath/source/unofilter.cxx @@ -30,28 +30,24 @@ class MathTypeFilter : public cppu::WeakImplHelper public: MathTypeFilter(); - virtual ~MathTypeFilter() override; + ~MathTypeFilter() override; // XFilter - virtual sal_Bool SAL_CALL filter(const uno::Sequence& rDescriptor) throw (uno::RuntimeException, std::exception) override; - virtual void SAL_CALL cancel() throw (uno::RuntimeException, std::exception) override; + sal_Bool SAL_CALL filter(const uno::Sequence& rDescriptor) throw (uno::RuntimeException, std::exception) override; + void SAL_CALL cancel() throw (uno::RuntimeException, std::exception) override; // XImporter - virtual void SAL_CALL setTargetDocument(const uno::Reference& xDoc) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) override; + void SAL_CALL setTargetDocument(const uno::Reference& xDoc) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw (uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (uno::RuntimeException, std::exception) override; - virtual uno::Sequence SAL_CALL getSupportedServiceNames() throw (uno::RuntimeException, std::exception) override; + OUString SAL_CALL getImplementationName() throw (uno::RuntimeException, std::exception) override; + sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (uno::RuntimeException, std::exception) override; + uno::Sequence SAL_CALL getSupportedServiceNames() throw (uno::RuntimeException, std::exception) override; }; -MathTypeFilter::MathTypeFilter() -{ -} +MathTypeFilter::MathTypeFilter() = default; -MathTypeFilter::~MathTypeFilter() -{ -} +MathTypeFilter::~MathTypeFilter() = default; sal_Bool MathTypeFilter::filter(const uno::Sequence& rDescriptor) throw(uno::RuntimeException, std::exception) {