]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.h
More requires --> required, for C++2a.
[lyx.git] / src / insets / InsetInfo.h
index 2f1b65153b956efae0ea87af343fed3112b71bc3..fa3cfda72899f653a77dd2ede20ecbfdbae47479 100644 (file)
@@ -139,9 +139,9 @@ public:
                UNKNOWN_INFO,    // Invalid type
        };
        ///
-       docstring getDate(std::string const, QDate const date = QDate::currentDate()) const;
+       docstring getDate(std::string const &, QDate const date = QDate::currentDate()) const;
        ///
-       docstring getTime(std::string const, QTime const time = QTime::currentTime()) const;
+       docstring getTime(std::string const &, QTime const time = QTime::currentTime()) const;
        ///
        std::vector<std::pair<std::string,docstring>> getArguments(Buffer const * buf,
                                                                   std::string const &) const;
@@ -196,7 +196,7 @@ public:
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        /// Force inset into LTR environment if surroundings are RTL
-       bool forceLTR() const;
+       bool forceLTR(OutputParams const &) const;
        ///
        void setInfo(std::string const & info);
        ///