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) {