summaryrefslogtreecommitdiff
diff options
authorCaolán McNamara <caolan.mcnamara@collabora.com>2025-04-26 20:25:42 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2025-04-26 22:42:44 +0200
commit16745d0b793b61d5719085c04eca8741d815865a (patch)
tree24181c3de41c7efef10e88b3921dd9b7b261de8b
parent36aed19e5e96b903f95d2cc782454c9d601f0b94 (diff)
crashtesting: .doc output of ooo74516-1.odt cannot be reloaded
allow a larger starmath parse depth to accept this document Change-Id: I2b912be98958efb351de4cdc9f916831e70cf42d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184668 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r--starmath/inc/parsebase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/parsebase.hxx b/starmath/inc/parsebase.hxx
index dd53ce631c11..1cac2a917a08 100644
--- a/starmath/inc/parsebase.hxx
+++ b/starmath/inc/parsebase.hxx
@@ -30,7 +30,7 @@
#include <set>
#include <utility>
-#define DEPTH_LIMIT 1024
+constexpr int DEPTH_LIMIT = 256 * 6;
// Those are the errors that the parser may encounter.
enum class SmParseError : uint_fast8_t
close