]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.C
reduce number of calls to LyXText::getFont
[lyx.git] / src / MenuBackend.C
index 277b3ea08ed990a3ba5b8f3f45f0acc48fb89d8e..97fd3a7d4f0300539641adc7092907e321b9622c 100644 (file)
@@ -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;