]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.h
Circumvent odd stmary font metrics (part of #9990).
[lyx.git] / src / insets / InsetInclude.h
index bee2089d9407beb2a4e921ec69decde18977b90c..78d308008ce4d0f5ad233400112b78978ba7fdcf 100644 (file)
@@ -35,6 +35,10 @@ namespace support {
 
 /// for including tex/lyx files
 class InsetInclude : public InsetCommand {
+       // Disable assignment operator, since it is not used, and cannot be
+       // implemented consistently with the copy constructor, because
+       // include_label is const.
+       InsetInclude & operator=(InsetInclude const &);
 public:
        ///
        InsetInclude(Buffer * buf, InsetCommandParams const &);
@@ -104,7 +108,8 @@ public:
        ///
        void addPreview(DocIterator const &, graphics::PreviewLoader &) const;
        ///
-       void addToToc(DocIterator const & di, bool output_active) const;
+       void addToToc(DocIterator const & di, bool output_active,
+                                 UpdateType utype) const;
        ///
        void updateBuffer(ParIterator const &, UpdateType);
        ///