]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetIndex.cpp
Guard some debug code
[features.git] / 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