diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-26 14:05:48 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-26 15:26:00 +0300 |
commit | 849651d01b8271a33de2a3e06eadf22b52383cc9 (patch) | |
tree | 93e523ba378e1aafa9dc3c62251de0387c7a0bdb /starmath | |
parent | 91cd2b8e7647d7d6d81e6a3e43e1aef08b3f0b7c (diff) |
WaE: switch statement contains 'default' but no 'case' labels
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/ooxml.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/starmath/source/ooxml.cxx b/starmath/source/ooxml.cxx index f083ca73141c..0ae67c6bad71 100644 --- a/starmath/source/ooxml.cxx +++ b/starmath/source/ooxml.cxx @@ -329,12 +329,14 @@ void SmOoxml::HandleUnaryOperation( const SmUnHorNode* pNode, int nLevel ) { // update HandleMath() when adding new items // fprintf(stderr,"UNARY %d\n", pNode->GetToken().eType ); - switch( pNode->GetToken().eType ) - { - default: + +// Avoid MSVC warning C4065: switch statement contains 'default' but no 'case' labels +// switch( pNode->GetToken().eType ) +// { +// default: HandleAllSubNodes( pNode, nLevel ); - break; - } +// break; +// } } void SmOoxml::HandleBinaryOperation( const SmBinHorNode* pNode, int nLevel ) |