]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpecialChar.cpp
Amend 7e121117bb3203
[lyx.git] / src / insets / InsetSpecialChar.cpp
index 4d4198499a161c1f93d734da2449c9b0928cdd43..1267a75b376c499dfb5c80bc50c9e084011e578b 100644 (file)
@@ -84,7 +84,7 @@ int logoWidth(FontInfo const & font, InsetSpecialChar::Kind kind) {
        return width;
 }
 
-}
+} // namespace
 
 docstring InsetSpecialChar::toolTip(BufferView const &, int, int) const
 {
@@ -108,6 +108,14 @@ docstring InsetSpecialChar::toolTip(BufferView const &, int, int) const
                case NOBREAKDASH:
                        message = from_ascii("Protected Hyphen (SHY)");
                        break;
+               case LDOTS:
+               case MENU_SEPARATOR:
+               case PHRASE_LYX:
+               case PHRASE_TEX:
+               case PHRASE_LATEX2E:
+               case PHRASE_LATEX:
+                       // no tooltip for these ones.
+                       break;
        }
        return message;
 }
@@ -240,7 +248,7 @@ void drawLogo(PainterInfo & pi, int & x, int const y, InsetSpecialChar::Kind kin
        }
 }
 
-}
+} // namespace
 
 void InsetSpecialChar::draw(PainterInfo & pi, int x, int y) const
 {