X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetSpace.h;h=2784022955b6e80adfe84234ced1eec780394325;hb=62af7ee772f16f154225d2d0b65d77f4376b6001;hp=b5a628a4561326581105297fe15b692d40a3b9a1;hpb=d32f76f7fe1d1ba16ed038ca6e0281a48e8acc2a;p=lyx.git diff --git a/src/insets/InsetSpace.h b/src/insets/InsetSpace.h index b5a628a456..2784022955 100644 --- a/src/insets/InsetSpace.h +++ b/src/insets/InsetSpace.h @@ -74,7 +74,7 @@ struct InsetSpaceParams { CUSTOM_PROTECTED }; /// - InsetSpaceParams(bool m = false) : kind(NORMAL), math(m) {} + explicit InsetSpaceParams(bool m = false) : kind(NORMAL), math(m) {} /// void write(std::ostream & os) const; /// @@ -135,11 +135,11 @@ public: /// void toString(odocstream &) const; /// - void forOutliner(docstring &, size_t) const; + void forOutliner(docstring &, size_t const, bool const) const; /// bool hasSettings() const { return true; } /// - bool clickable(int, int) const { return true; } + bool clickable(BufferView const &, int, int) const { return true; } /// InsetCode lyxCode() const { return SPACE_CODE; } /// does this inset try to use all available space (like \\hfill does)?