]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.cpp
#7379 avoid the wrap spell check question when buffer is empty
[lyx.git] / src / insets / Inset.cpp
index d1a4e8b0696e0c882741266d9875f6ef0a2014ec..c93018e0755acb2d0013c56782c00ecb6ee98c10 100644 (file)
@@ -254,6 +254,11 @@ docstring Inset::toolTip(BufferView const &, int, int) const
 }
 
 
+void Inset::forToc(docstring &, size_t) const
+{
+}
+
+
 docstring Inset::contextMenu(BufferView const &, int, int) const
 {
        return contextMenuName();
@@ -619,7 +624,7 @@ void Inset::setDimCache(MetricsInfo const & mi, Dimension const & dim) const
 Buffer const * Inset::updateFrontend() const
 {
        //FIXME (Abdel 03/12/10): see bugs #6814 and #6949
-       // If we Buffer is null and we end up here it is most probably because we
+       // If the Buffer is null and we end up here this is most probably because we
        // are in the CutAndPaste stack. See InsetGraphics, RenderGraphics and
        // RenderPreview.
        if (!buffer_)