diff options
-rw-r--r-- | starmath/source/mathtype.cxx | 4 | ||||
-rw-r--r-- | starmath/source/mathtype.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 2d24750181cd..43aed7833610 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 904a0e5b8545..e4bb10d06677 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); |