summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-10-19 08:33:05 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-10-19 08:00:17 +0000
commit10cfa2abeec568d72fc1f6c110316e3be5336132 (patch)
treefc5221299d1735ea7280564b21894a0e81acd65c /starmath
parent423936ffacb72f85b37961e4cd585fe2719799b7 (diff)
starmath: clean up redundant virtual keywords in unofilter
Change-Id: I97af23d22c0b4eb416172e9ebea9544541621cb0 Reviewed-on: https://gerrit.libreoffice.org/30031 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/unofilter.cxx22
1 files 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<beans::PropertyValue>& 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<beans::PropertyValue>& 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<lang::XComponent>& xDoc) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) override;
+ void SAL_CALL setTargetDocument(const uno::Reference<lang::XComponent>& 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<OUString> 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<OUString> 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<beans::PropertyValue>& rDescriptor) throw(uno::RuntimeException, std::exception)
{