X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloating.cpp;h=92a2799684a4bc7dda00700f4ac710bbd9d2d25f;hb=b0a73c0dfdbfa0541f04d7ee2578c4cd272ef7b9;hp=03bde1fe249b9fee7ea0b3aebf09a25e12e9cb65;hpb=47dd9189eb01d6485a6847a42b4fee6450d44f6b;p=lyx.git diff --git a/src/Floating.cpp b/src/Floating.cpp index 03bde1fe24..92a2799684 100644 --- a/src/Floating.cpp +++ b/src/Floating.cpp @@ -30,7 +30,7 @@ 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, bool usesfloat, bool ispredefined, bool allowswide, bool allowssideways) : floattype_(type), placement_(placement), ext_(ext), within_(within), style_(style), name_(name), listname_(listName), listcommand_(listCmd), @@ -44,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_; } @@ -58,7 +58,7 @@ string const & Floating::htmlTag() const string Floating::defaultCSSClass() const -{ +{ if (!defaultcssclass_.empty()) return defaultcssclass_; string d;