[Libreoffice-commits] core.git: starmath/source

Miklos Vajna vmiklos at collabora.co.uk
Wed Oct 19 08:00:39 UTC 2016


 starmath/source/unofilter.cxx |   22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

New commits:
commit 10cfa2abeec568d72fc1f6c110316e3be5336132
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Oct 19 08:33:05 2016 +0200

    starmath: clean up redundant virtual keywords in unofilter
    
    Change-Id: I97af23d22c0b4eb416172e9ebea9544541621cb0
    Reviewed-on: https://gerrit.libreoffice.org/30031
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/starmath/source/unofilter.cxx b/starmath/source/unofilter.cxx
index 8caf72e..95fc3e8 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)
 {


More information about the Libreoffice-commits mailing list