Compare commits

...

2 Commits

Author SHA1 Message Date
Pavel Sanda
caff99419a Move header include to cpp. 2024-11-01 20:04:43 +01:00
Thibaut Cuvelier
f6405ef853 Fix a tautological condition. 2024-11-01 17:57:06 +01:00
21 changed files with 21 additions and 2 deletions

View File

@ -12,6 +12,7 @@
#include "InsetMathAMSArray.h" #include "InsetMathAMSArray.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MathData.h" #include "MathData.h"
#include "MathStream.h" #include "MathStream.h"

View File

@ -12,6 +12,7 @@
#include "InsetMathBoldSymbol.h" #include "InsetMathBoldSymbol.h"
#include "Dimension.h"
#include "MathStream.h" #include "MathStream.h"
#include "MathData.h" #include "MathData.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"

View File

@ -13,6 +13,7 @@
#include "InsetMathBox.h" #include "InsetMathBox.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MathData.h" #include "MathData.h"
#include "MathStream.h" #include "MathStream.h"

View File

@ -12,6 +12,7 @@
#include "InsetMathBrace.h" #include "InsetMathBrace.h"
#include "Dimension.h"
#include "MathData.h" #include "MathData.h"
#include "MathStream.h" #include "MathStream.h"
#include "MathSupport.h" #include "MathSupport.h"

View File

@ -14,6 +14,7 @@
#include "MathStream.h" #include "MathStream.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"

View File

@ -15,6 +15,7 @@
#include "MathData.h" #include "MathData.h"
#include "MathStream.h" #include "MathStream.h"
#include "Dimension.h"
#include "Cursor.h" #include "Cursor.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"

View File

@ -13,6 +13,7 @@
#include "InsetMathCases.h" #include "InsetMathCases.h"
#include "Cursor.h" #include "Cursor.h"
#include "Dimension.h"
#include "FuncRequest.h" #include "FuncRequest.h"
#include "FuncStatus.h" #include "FuncStatus.h"
#include "support/gettext.h" #include "support/gettext.h"

View File

@ -18,6 +18,7 @@
#include "frontends/Painter.h" #include "frontends/Painter.h"
#include "Dimension.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"
#include <ostream> #include <ostream>

View File

@ -19,6 +19,7 @@
#include "MathSupport.h" #include "MathSupport.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "support/docstring.h" #include "support/docstring.h"

View File

@ -12,6 +12,7 @@
#include "InsetMathFont.h" #include "InsetMathFont.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MathData.h" #include "MathData.h"
#include "MathStream.h" #include "MathStream.h"
@ -130,7 +131,7 @@ public:
} }
// Explicitly match the cases with an empty output. This ensures that we catch at runtime // Explicitly match the cases with an empty output. This ensures that we catch at runtime
// invalid values for the enum while keeping compile-time warnings. // invalid values for the enum while keeping compile-time warnings.
if (span_class.empty() && (family_ != MATH_NORMAL_FAMILY || family_ != MATH_DOUBLE_STRUCK_FAMILY)) { if (span_class.empty() && (family_ == MATH_NORMAL_FAMILY || family_ == MATH_DOUBLE_STRUCK_FAMILY)) {
LYXERR(Debug::MATHED, LYXERR(Debug::MATHED,
"Unexpected case in MathFontInfo::toHTMLSpanClass: family_ = " << family_ "Unexpected case in MathFontInfo::toHTMLSpanClass: family_ = " << family_
<< ", series = " << series_ << ", shape = " << shape_); << ", series = " << series_ << ", shape = " << shape_);

View File

@ -20,6 +20,7 @@
#include "MathSupport.h" #include "MathSupport.h"
#include "Cursor.h" #include "Cursor.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"
#include "TextPainter.h" #include "TextPainter.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "Dimension.h"
#include "InsetMathLefteqn.h" #include "InsetMathLefteqn.h"
#include "support/docstream.h" #include "support/docstream.h"

View File

@ -16,6 +16,7 @@
#include "MathStream.h" #include "MathStream.h"
#include "Cursor.h" #include "Cursor.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"

View File

@ -15,6 +15,7 @@
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MathStream.h" #include "MathStream.h"
#include "Dimension.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"
#include "frontends/Painter.h" #include "frontends/Painter.h"

View File

@ -17,6 +17,7 @@
#include "MathSupport.h" #include "MathSupport.h"
#include "Cursor.h" #include "Cursor.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"

View File

@ -17,6 +17,7 @@
#include "MathStream.h" #include "MathStream.h"
#include "MathSupport.h" #include "MathSupport.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"
#include "TextPainter.h" #include "TextPainter.h"

View File

@ -16,6 +16,7 @@
#include "MathStream.h" #include "MathStream.h"
#include "Cursor.h" #include "Cursor.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"

View File

@ -16,6 +16,7 @@
#include "MathStream.h" #include "MathStream.h"
#include "Cursor.h" #include "Cursor.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"

View File

@ -16,6 +16,7 @@
#include "MathStream.h" #include "MathStream.h"
#include "MathSupport.h" #include "MathSupport.h"
#include "Dimension.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"

View File

@ -18,7 +18,6 @@
#include "MathAtom.h" #include "MathAtom.h"
#include "MathClass.h" #include "MathClass.h"
#include "Dimension.h"
#include "OutputEnums.h" #include "OutputEnums.h"
#include <cstddef> #include <cstddef>

View File

@ -20,6 +20,7 @@
#include "MathParser.h" #include "MathParser.h"
#include "MathStream.h" #include "MathStream.h"
#include "Dimension.h"
#include "Encoding.h" #include "Encoding.h"
#include "LaTeXFeatures.h" #include "LaTeXFeatures.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"