starmath/source/mathtype.cxx |    4 +---
 starmath/source/mathtype.hxx |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 442104c59be5e8e986501e5fc1a02f46066605d7
Author: Stephan Bergmann <[email protected]>
Date:   Thu Apr 16 18:37:28 2015 +0200

    MathType::HandleNodes return value is unused
    
    Change-Id: Ibffcb06e1bfccc4ad604114813b0226395e2d791

diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 2d24750..43aed78 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -1950,9 +1950,8 @@ int MathType::ConvertFromStarMath( SfxMedium& rMedium )
 }
 
 
-sal_uInt8 MathType::HandleNodes(SmNode *pNode,int nLevel)
+void MathType::HandleNodes(SmNode *pNode,int nLevel)
 {
-    bool bRet=false;
     switch(pNode->GetType())
     {
         case NATTRIBUT:
@@ -2040,7 +2039,6 @@ sal_uInt8 MathType::HandleNodes(SmNode *pNode,int nLevel)
             }
             break;
     }
-    return bRet;
 }
 
 
diff --git a/starmath/source/mathtype.hxx b/starmath/source/mathtype.hxx
index 904a0e5..e4bb10d 100644
--- a/starmath/source/mathtype.hxx
+++ b/starmath/source/mathtype.hxx
@@ -148,7 +148,7 @@ private:
     int xfLSPACE(sal_uInt8 nTest) const {return nTest&0x40;}
     int xfRULER(sal_uInt8 nTest) const {return nTest&0x20;}
 
-    sal_uInt8 HandleNodes(SmNode *pNode,int nLevel=0);
+    void HandleNodes(SmNode *pNode,int nLevel=0);
     int StartTemplate(sal_uInt16 nSelector,sal_uInt16 nVariation=0);
     void EndTemplate(int nOldPendingAttributes);
     void HandleSmMatrix(SmMatrixNode *pMatrix,int nLevel);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to