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

Miklos Vajna vmiklos at collabora.co.uk
Thu May 11 08:24:09 UTC 2017


 starmath/source/ooxmlexport.hxx |   22 +++++++++++-----------
 starmath/source/rtfexport.hxx   |   22 +++++++++++-----------
 2 files changed, 22 insertions(+), 22 deletions(-)

New commits:
commit f09ccedb5f18a634c6aaa3340c8d1718f6279c71
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu May 11 09:11:55 2017 +0200

    starmath Word export: remove redundant 'virtual' keywords
    
    Change-Id: I7b8600ae6516ffe5f30bbefbd554b9e7a2614211
    Reviewed-on: https://gerrit.libreoffice.org/37494
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/starmath/source/ooxmlexport.hxx b/starmath/source/ooxmlexport.hxx
index 41cb6516efac..fac866b05d2f 100644
--- a/starmath/source/ooxmlexport.hxx
+++ b/starmath/source/ooxmlexport.hxx
@@ -26,17 +26,17 @@ public:
             oox::drawingml::DocumentType documentType);
     bool ConvertFromStarMath( const ::sax_fastparser::FSHelperPtr& m_pSerializer );
 private:
-    virtual void HandleVerticalStack( const SmNode* pNode, int nLevel ) override;
-    virtual void HandleText( const SmNode* pNode, int nLevel ) override;
-    virtual void HandleFractions( const SmNode* pNode, int nLevel, const char* type ) override;
-    virtual void HandleRoot( const SmRootNode* pNode, int nLevel ) override;
-    virtual void HandleAttribute( const SmAttributNode* pNode, int nLevel ) override;
-    virtual void HandleOperator( const SmOperNode* pNode, int nLevel ) override;
-    virtual void HandleSubSupScriptInternal( const SmSubSupNode* pNode, int nLevel, int flags ) override;
-    virtual void HandleMatrix( const SmMatrixNode* pNode, int nLevel ) override;
-    virtual void HandleBrace( const SmBraceNode* pNode, int nLevel ) override;
-    virtual void HandleVerticalBrace( const SmVerticalBraceNode* pNode, int nLevel ) override;
-    virtual void HandleBlank() override;
+    void HandleVerticalStack( const SmNode* pNode, int nLevel ) override;
+    void HandleText( const SmNode* pNode, int nLevel ) override;
+    void HandleFractions( const SmNode* pNode, int nLevel, const char* type ) override;
+    void HandleRoot( const SmRootNode* pNode, int nLevel ) override;
+    void HandleAttribute( const SmAttributNode* pNode, int nLevel ) override;
+    void HandleOperator( const SmOperNode* pNode, int nLevel ) override;
+    void HandleSubSupScriptInternal( const SmSubSupNode* pNode, int nLevel, int flags ) override;
+    void HandleMatrix( const SmMatrixNode* pNode, int nLevel ) override;
+    void HandleBrace( const SmBraceNode* pNode, int nLevel ) override;
+    void HandleVerticalBrace( const SmVerticalBraceNode* pNode, int nLevel ) override;
+    void HandleBlank() override;
     ::sax_fastparser::FSHelperPtr m_pSerializer;
     oox::core::OoxmlVersion version;
     /// needed to determine markup for nested run properties
diff --git a/starmath/source/rtfexport.hxx b/starmath/source/rtfexport.hxx
index 380fda80149b..d45fcb49cfdc 100644
--- a/starmath/source/rtfexport.hxx
+++ b/starmath/source/rtfexport.hxx
@@ -23,17 +23,17 @@ public:
     explicit SmRtfExport(const SmNode* pIn);
     void ConvertFromStarMath(OStringBuffer& rBuffer, rtl_TextEncoding nEncoding);
 private:
-    virtual void HandleVerticalStack(const SmNode* pNode, int nLevel) override;
-    virtual void HandleText(const SmNode* pNode, int nLevel) override;
-    virtual void HandleFractions(const SmNode* pNode, int nLevel, const char* type) override;
-    virtual void HandleRoot(const SmRootNode* pNode, int nLevel) override;
-    virtual void HandleAttribute(const SmAttributNode* pNode, int nLevel) override;
-    virtual void HandleOperator(const SmOperNode* pNode, int nLevel) override;
-    virtual void HandleSubSupScriptInternal(const SmSubSupNode* pNode, int nLevel, int flags) override;
-    virtual void HandleMatrix(const SmMatrixNode* pNode, int nLevel) override;
-    virtual void HandleBrace(const SmBraceNode* pNode, int nLevel) override;
-    virtual void HandleVerticalBrace(const SmVerticalBraceNode* pNode, int nLevel) override;
-    virtual void HandleBlank() override;
+    void HandleVerticalStack(const SmNode* pNode, int nLevel) override;
+    void HandleText(const SmNode* pNode, int nLevel) override;
+    void HandleFractions(const SmNode* pNode, int nLevel, const char* type) override;
+    void HandleRoot(const SmRootNode* pNode, int nLevel) override;
+    void HandleAttribute(const SmAttributNode* pNode, int nLevel) override;
+    void HandleOperator(const SmOperNode* pNode, int nLevel) override;
+    void HandleSubSupScriptInternal(const SmSubSupNode* pNode, int nLevel, int flags) override;
+    void HandleMatrix(const SmMatrixNode* pNode, int nLevel) override;
+    void HandleBrace(const SmBraceNode* pNode, int nLevel) override;
+    void HandleVerticalBrace(const SmVerticalBraceNode* pNode, int nLevel) override;
+    void HandleBlank() override;
 
     OStringBuffer* m_pBuffer;
     rtl_TextEncoding m_nEncoding;


More information about the Libreoffice-commits mailing list