commit 378c19bfc234e42e983b45254f668e21b932bc3b
Author: Scott Kostyshak <[email protected]>
Date: Sat Nov 5 14:26:43 2022 -0400
Guard some debug code
Amend f352a375 and 3bf1b97a.
---
src/insets/InsetIndex.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index bec373d..d72527a 100644
--- a/src/insets/InsetIndex.cpp
+++ b/src/insets/InsetIndex.cpp
@@ -1448,7 +1448,9 @@ public:
private:
bool isModern()
{
+#ifdef LYX_INSET_INDEX_DEBUG
std::cout << to_utf8(entry_) << std::endl;
+#endif // LYX_INSET_INDEX_DEBUG
// If a modern parameter is present, this is definitely a
modern index inset. Similarly, if it contains the
// usual LaTeX symbols (!|@), then it is definitely a legacy
index inset. Otherwise, if it has features of
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs