From: Richard Heck Date: Mon, 30 Nov 2009 17:20:10 +0000 (+0000) Subject: There's an easier way.... X-Git-Tag: 2.0.0~4985 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=aa1f01777e504d571d93b6251c7819aa268ed5b6;p=features.git There's an easier way.... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32245 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetVSpace.cpp b/src/insets/InsetVSpace.cpp index 478c1ace81..b499b0bcc9 100644 --- a/src/insets/InsetVSpace.cpp +++ b/src/insets/InsetVSpace.cpp @@ -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(xds.os()).str(); + return ods.str(); }