]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.C
reduce number of calls to LyXText::getFont
[lyx.git] / src / MenuBackend.C
index a96b1ec17baaf7b19e7ad80f805bd8730c23c68e..97fd3a7d4f0300539641adc7092907e321b9622c 100644 (file)
@@ -513,9 +513,9 @@ void expandFormats(MenuItem::Kind kind, Menu & tomenu, LyXView const * view)
 
                if (kind == MenuItem::ImportFormats) {
                        if ((*fit)->name() == "text")
-                               label = _("ASCII text as lines");
+                               label = _("Plain Text as Lines");
                        else if ((*fit)->name() == "textparagraph")
-                               label = _("ASCII text as paragraphs");
+                               label = _("Plain Text as Paragraphs");
                        label += "...";
                }
                if (!(*fit)->shortcut().empty())
@@ -610,7 +610,7 @@ void expandToc2(Menu & tomenu,
 
        // check whether depth is smaller than the smallest depth in toc.
        int min_depth = 1000;
-       for (lyx::toc::Toc::size_type i = from; i < to; ++i) 
+       for (lyx::toc::Toc::size_type i = from; i < to; ++i)
                min_depth = std::min(min_depth, toc_list[i].depth);
        if (min_depth > depth)
                depth = min_depth;