[LyX/master] Remove debug code that is not very useful as it is.

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Jun 10 18:33:39 UTC 2024


commit 30338ec6b36f654e32a6ac5fc85e8d3716d42abf
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Mon Jun 10 20:32:47 2024 +0200

    Remove debug code that is not very useful as it is.
---
 src/insets/InsetIndex.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index eb16a543ce..4a4c036a99 100644
--- a/src/insets/InsetIndex.cpp
+++ b/src/insets/InsetIndex.cpp
@@ -1463,10 +1463,6 @@ 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
 		// neither, it is both: consider this is a modern inset, to trigger the least complex code. Mixing both types


More information about the lyx-cvs mailing list