}
+void Inset::forToc(docstring &, size_t) const
+{
+}
+
+
docstring Inset::contextMenu(BufferView const &, int, int) const
{
return contextMenuName();
Buffer const * Inset::updateFrontend() const
{
+ //FIXME (Abdel 03/12/10): see bugs #6814 and #6949
+ // 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_)
+ return 0;
return theApp() ? theApp()->updateInset(this) : 0;
}