summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-12-29 11:35:59 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-12-29 11:36:13 +0100
commit74b675cb6988c8ea731536832a0f8b5196f7521e (patch)
tree89093939029b231c50a428656c8212c6353b18d6 /starmath
parent5cc45ed66d44aec84dcaf3f3cd58a4fb26efe4ba (diff)
Some cppcheck cleaning
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index f8b3b38196da..8c456e475587 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -1160,7 +1160,7 @@ void SmXMLExport::ExportAttributes(const SmNode *pNode, int nLevel)
static bool lcl_HasEffectOnMathvariant( const SmTokenType eType )
{
return eType == TBOLD || eType == TNBOLD ||
- eType == TITALIC || eType == TNBOLD ||
+ eType == TITALIC || eType == TNITALIC ||
eType == TSANS || eType == TSERIF || eType == TFIXED;
}