]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Fix bug #7983: Do not modify params before we know we have
[lyx.git] / src / insets / InsetGraphics.h
index 34391f5437324fa3ce635e1e3658050a54bacd9a..408a3c1f33717890a0e47e611f45a25d46dbb40a 100644 (file)
@@ -72,7 +72,7 @@ private:
         #fragile == true# means, that the inset should take care about
         fragile commands by adding a #\protect# before.
         */
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
@@ -96,9 +96,9 @@ private:
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
-       void addToToc(DocIterator const &);
+       void addToToc(DocIterator const &) const;
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        /// Force inset into LTR environment if surroundings are RTL
        bool forceLTR() const { return true; }
        ///