diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-16 18:37:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-16 18:37:28 +0200 |
commit | 442104c59be5e8e986501e5fc1a02f46066605d7 (patch) | |
tree | bf4bbc7fff250ffc3ee56aa36742b7272f4639df /starmath | |
parent | bfedaea4921a3bba10e1cdb566901978b6dbffc2 (diff) |
MathType::HandleNodes return value is unused
Change-Id: Ibffcb06e1bfccc4ad604114813b0226395e2d791
Diffstat (limited to 'starmath')
-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); |