]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.h
Fix a number of other uninitialized members.
[lyx.git] / src / insets / InsetLine.h
index 9612970ce154b59e52ac8e8e40e088c3f7ce19e8..8285045ec56ac77a8bece1a9053e10f6e3bc46dc 100644 (file)
@@ -31,7 +31,7 @@ public:
        //@{
        docstring screenLabel() const;
        static ParamInfo const & findInfo(std::string const &);
-       static std::string defaultCommand() { return "rule"; };
+       static std::string defaultCommand() { return "rule"; }
        static bool isCompatibleCommand(std::string const & s)
        { return s == "rule"; }
        //@}
@@ -48,8 +48,9 @@ private:
        bool hasSettings() const { return true; }
        void metrics(MetricsInfo &, Dimension &) const;
        void draw(PainterInfo & pi, int x, int y) const;
-       int latex(odocstream &, OutputParams const &) const;
-       int plaintext(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
        Inset * clone() const { return new InsetLine(*this); }