]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetminipage.h
ws changes only
[lyx.git] / src / insets / insetminipage.h
index 9ceca591557620b405b2b3df3d0ed3d660230b03..e484b3bf441a05f24354fc4cce7c89f741d6dca2 100644 (file)
@@ -7,7 +7,7 @@
  * \author Jürgen Vigna
  * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef INSETMINIPAGE_H
@@ -62,9 +62,9 @@ public:
        ///
        virtual dispatch_result localDispatch(FuncRequest const & cmd);
        ///
-       void write(Buffer const * buf, std::ostream & os) const;
+       void write(Buffer const & buf, std::ostream & os) const;
        ///
-       void read(Buffer const * buf, LyXLex & lex);
+       void read(Buffer const & buf, LyXLex & lex);
        ///
        virtual std::auto_ptr<InsetBase> clone() const;
        ///
@@ -72,14 +72,12 @@ public:
        ///
        InsetOld::Code lyxCode() const { return InsetOld::MINIPAGE_CODE; }
        ///
-       int latex(Buffer const *, std::ostream &,
+       int latex(Buffer const &, std::ostream &,
                  LatexRunParams const &) const;
        ///
-       string const editMessage() const;
+       std::string const editMessage() const;
        ///
        bool insetAllowed(InsetOld::Code) const;
-       ///
-       bool needFullRow() const { return false; }
        /** returns true if, when outputing LaTeX, font changes should
            be closed before generating this inset. This is needed for
            insets that may contain several paragraphs */
@@ -108,16 +106,16 @@ public:
        ///
        virtual InsetBase & inset() const { return inset_; }
        ///
-       virtual string const & name() const { return name_; }
+       virtual std::string const & name() const { return name_; }
        ///
-       virtual string const inset2string(Buffer const &) const;
+       virtual std::string const inset2string(Buffer const &) const;
        ///
-       static void string2params(string const &, InsetMinipage::Params &);
+       static void string2params(std::string const &, InsetMinipage::Params &);
        ///
-       static string const params2string(InsetMinipage::Params const &);
+       static std::string const params2string(InsetMinipage::Params const &);
 private:
        ///
-       static string const name_;
+       static std::string const name_;
        ///
        InsetMinipage & inset_;
 };