]> git.lyx.org Git - lyx.git/blobdiff - src/support/debug.cpp
Fix bugs #6078 and #9364
[lyx.git] / src / support / debug.cpp
index 3a6f9018feb3926549c5af73e125c406b6279d7f..f44f7fcdd980e5d8e5fa26cdd00b1502a30f28c9 100644 (file)
@@ -60,7 +60,7 @@ ErrorItem errorTags[] = {
        { Debug::INSETS,    "insets",    N_("LyX Insets")},
        { Debug::FILES,     "files",     N_("Files used by LyX")},
        { Debug::WORKAREA,  "workarea",  N_("Workarea events")},
-       { Debug::INSETTEXT, "insettext", N_("Insettext/tabular messages")},
+       { Debug::CLIPBOARD, "clipboard", N_("Clipboard handling")},
        { Debug::GRAPHICS,  "graphics",  N_("Graphics conversion and loading")},
        { Debug::CHANGES,   "changes",   N_("Change tracking")},
        { Debug::EXTERNAL,  "external",  N_("External template/inset messages")},
@@ -202,7 +202,7 @@ char const * LyXErr::stripName(char const * n)
 {
        string const name = n;
        // find the last occurence of /src/ in name
-       static regex re("[\\/]src[\\/]");
+       static const regex re("[\\/]src[\\/]");
        string::const_iterator const begin = name.begin();
        string::const_iterator it = begin;
        string::const_iterator const end = name.end();