blob: 11c558c34383f52630e9289475fd65b1f7a0e9f2 (
plain) (
tree)
|
|
From ef427988dd95203938c2f2e8f212347a8c0c678a Mon Sep 17 00:00:00 2001
From: ALONSO Laurent <laurent.alonso@inria.fr>
Date: Mon, 17 Apr 2023 12:21:36 +0200
Subject: [PATCH] STOFFStarMathToMMLConverter.cxx: correct a mistake...
---
src/lib/STOFFStarMathToMMLConverter.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/STOFFStarMathToMMLConverter.cxx b/src/lib/STOFFStarMathToMMLConverter.cxx
index 99abb73..9457815 100644
--- a/src/lib/STOFFStarMathToMMLConverter.cxx
+++ b/src/lib/STOFFStarMathToMMLConverter.cxx
@@ -2044,7 +2044,7 @@ bool Parser::convert(librevenge::RVNGString const &starMath, std::vector<LexerDa
done=true;
}
else if (len>=2 && c=='>' && dataList.back().m_string=="?" &&
- dataList[len-2].LexerData::Special && dataList[len-2].m_string=="<") {
+ dataList[len-2].m_type==LexerData::Special && dataList[len-2].m_string=="<") {
dataList[len-2].m_type=LexerData::PlaceHolder;
dataList[len-2].m_string="<?>";
dataList.resize(len-1);
|