X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FFloating.cpp;h=3dbc0a9f946dd2110c3359774ae62f9066f110b5;hb=8f3c95f7570f84effc4601e88f13ff48c6084f0c;hp=8309e79caa1297f47c313b4597f30dc3262e3e62;hpb=50c139195083120fb79a215d21cedda516a3451c;p=lyx.git diff --git a/src/Floating.cpp b/src/Floating.cpp index 8309e79caa..3dbc0a9f94 100644 --- a/src/Floating.cpp +++ b/src/Floating.cpp @@ -30,11 +30,12 @@ Floating::Floating(string const & type, string const & placement, string const & listName, std::string const & listCmd, string const & refPrefix, std::string const & allowedplacement, string const & htmlTag, string const & htmlAttrib, - string const & htmlStyle, bool usesfloat, bool ispredefined, + docstring const & htmlStyle, string const & required, + bool usesfloat, bool ispredefined, bool allowswide, bool allowssideways) : floattype_(type), placement_(placement), ext_(ext), within_(within), style_(style), name_(name), listname_(listName), listcommand_(listCmd), - refprefix_(refPrefix), allowedplacement_(allowedplacement), + refprefix_(refPrefix), allowedplacement_(allowedplacement), required_(required), usesfloatpkg_(usesfloat), ispredefined_(ispredefined), allowswide_(allowswide), allowssideways_(allowssideways), html_tag_(htmlTag), html_attrib_(htmlAttrib), html_style_(htmlStyle) @@ -58,7 +59,7 @@ string const & Floating::htmlTag() const string Floating::defaultCSSClass() const -{ +{ if (!defaultcssclass_.empty()) return defaultcssclass_; string d;