From: Scott Kostyshak Date: Sat, 5 Nov 2022 18:26:43 +0000 (-0400) Subject: Guard some debug code X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=378c19bfc234e42e983b45254f668e21b932bc3b;p=features.git Guard some debug code Amend f352a375 and 3bf1b97a. --- diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index bec373d5dd..d72527a212 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