[Libreoffice-commits] .: starmath/source

Julien Nabet serval2412 at kemper.freedesktop.org
Thu Dec 29 02:36:25 PST 2011


 starmath/source/mathmlexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 74b675cb6988c8ea731536832a0f8b5196f7521e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Dec 29 11:35:59 2011 +0100

    Some cppcheck cleaning

diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index f8b3b38..8c456e4 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;
 }
 


More information about the Libreoffice-commits mailing list