File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -1032,8 +1032,7 @@ wxString TextCell::ToMathML() const {
1032
1032
// doesn't support this currently => Commenting it out. if((GetTextStyle() ==
1033
1033
// TS_SPECIAL_CONSTANT) && (text == wxS("d")))
1034
1034
// text = wxS("ࡢ");
1035
- bool keepPercent = m_configuration->CheckKeepPercent ();
1036
- if (!keepPercent) {
1035
+ if (!m_configuration->CheckKeepPercent ()) {
1037
1036
if (text == wxS (" %e" ))
1038
1037
text = wxS (" e" );
1039
1038
if (text == wxS (" %catalan" ))
@@ -1045,9 +1044,7 @@ wxString TextCell::ToMathML() const {
1045
1044
case TS_VARIABLE: {
1046
1045
text = GetGreekStringUnicode ();
1047
1046
1048
- bool keepPercent = m_configuration->CheckKeepPercent ();
1049
-
1050
- if (!keepPercent) {
1047
+ if (!m_configuration->CheckKeepPercent ()) {
1051
1048
if (text == wxS (" %pi" ))
1052
1049
text = wxS (" \u03C0 " );
1053
1050
}
@@ -1113,8 +1110,7 @@ wxString TextCell::ToOMML() const {
1113
1110
// doesn't support this currently => Commenting it out. if((GetTextStyle() ==
1114
1111
// TS_SPECIAL_CONSTANT) && (text == wxS("d")))
1115
1112
// text = wxS("ࡢ");
1116
- bool keepPercent = m_configuration->CheckKeepPercent ();
1117
- if (!keepPercent) {
1113
+ if (!m_configuration->CheckKeepPercent ()) {
1118
1114
if (text == wxS (" %e" ))
1119
1115
text = wxS (" e" );
1120
1116
if (text == wxS (" %catalan" ))
You can’t perform that action at this time.
0 commit comments