]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.h
Fix bug #12795
[lyx.git] / src / insets / InsetSpace.h
index 1d200764a4caf866014e91f6b8c70d7ab3c41d76..0b1bd7bfe513c9364ce64d3c34ac2da1f6fc7011 100644 (file)
@@ -99,7 +99,7 @@ public:
        ///
        InsetSpace() : Inset(0) {}
        ///
-       explicit InsetSpace(InsetSpaceParams const & par);
+       explicit InsetSpace(InsetSpaceParams const & params);
        ///
        InsetSpaceParams const & params() const { return params_; }
        ///
@@ -115,7 +115,7 @@ public:
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const override;
        /// unprotected spaces allow line breaking after them
-       RowFlags rowFlags() const override;
+       int rowFlags() const override;
        ///
        void metrics(MetricsInfo &, Dimension &) const override;
        ///
@@ -136,6 +136,8 @@ public:
        ///
        void validate(LaTeXFeatures & features) const override;
        ///
+       bool hasToString() const override { return true; }
+       ///
        void toString(odocstream &) const override;
        ///
        void forOutliner(docstring &, size_t const, bool const) const override;