X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFloat.h;h=ee2728a768d9f86ba2ff340357e84cd02447517a;hb=d45d7de8c35787423e071ef9bdac005b87701df6;hp=841e1d7fc96f0161108839b82fa06490dcd23ec9;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/insets/InsetFloat.h b/src/insets/InsetFloat.h index 841e1d7fc9..ee2728a768 100644 --- a/src/insets/InsetFloat.h +++ b/src/insets/InsetFloat.h @@ -57,7 +57,7 @@ public: /// void validate(LaTeXFeatures & features) const; /// - Inset::Code lyxCode() const { return Inset::FLOAT_CODE; } + InsetCode lyxCode() const { return FLOAT_CODE; } /// int latex(Buffer const &, odocstream &, OutputParams const &) const; @@ -70,7 +70,7 @@ public: /// virtual docstring const editMessage() const; /// - bool insetAllowed(Inset::Code) const; + bool insetAllowed(InsetCode) const; /** 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 */