Guard some debug code

Amend f352a375 and 3bf1b97a.
This commit is contained in:
Scott Kostyshak 2022-11-05 14:26:43 -04:00
parent 3bbce7f24a
commit 378c19bfc2

View 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