summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-26 14:05:48 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-26 15:26:00 +0300
commit849651d01b8271a33de2a3e06eadf22b52383cc9 (patch)
tree93e523ba378e1aafa9dc3c62251de0387c7a0bdb /starmath
parent91cd2b8e7647d7d6d81e6a3e43e1aef08b3f0b7c (diff)
WaE: switch statement contains 'default' but no 'case' labels
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ooxml.cxx12
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 )