X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloating.cpp;h=8309e79caa1297f47c313b4597f30dc3262e3e62;hb=0a603c5d0e370c8b9c9e0f5dfa024b6e500b2dd4;hp=7c68189fc265ed52158b41f11052c1086d737ef0;hpb=7dc123b790b2cffd30db1316dccaf993398577bf;p=lyx.git diff --git a/src/Floating.cpp b/src/Floating.cpp index 7c68189fc2..8309e79caa 100644 --- a/src/Floating.cpp +++ b/src/Floating.cpp @@ -30,11 +30,13 @@ 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) + string const & htmlStyle, 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), usesfloatpkg_(usesfloat), ispredefined_(ispredefined), + allowswide_(allowswide), allowssideways_(allowssideways), html_tag_(htmlTag), html_attrib_(htmlAttrib), html_style_(htmlStyle) {} @@ -42,7 +44,7 @@ Floating::Floating(string const & type, string const & placement, string const & Floating::htmlAttrib() const { if (html_attrib_.empty()) - html_attrib_ = "class='float " + defaultCSSClass() + "'"; + html_attrib_ = "class='" + defaultCSSClass() + "'"; return html_attrib_; }