]> git.lyx.org Git - features.git/commitdiff
Guard some debug code
authorScott Kostyshak <skostysh@lyx.org>
Sat, 5 Nov 2022 18:26:43 +0000 (14:26 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sat, 5 Nov 2022 18:35:27 +0000 (14:35 -0400)
Amend f352a375 and 3bf1b97a.

src/insets/InsetIndex.cpp

index bec373d5dd5dea66838c1cc7995c4c243da938c0..d72527a2126f318edf79f454d277254281071b8e 100644 (file)
@@ -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