There's an easier way....

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32245 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-11-30 17:20:10 +00:00
parent d88e9655be
commit aa1f01777e

View File

@ -242,7 +242,7 @@ docstring InsetVSpace::xhtml(XHTMLStream &, OutputParams const &) const
string const len = space_.asHTMLLength();
string const attr = "style='height:" + (len.empty() ? "1em" : len) + "'";
xds << StartTag("div", attr, true) << EndTag("div");
return dynamic_cast<odocstringstream &>(xds.os()).str();
return ods.str();
}