From aa1f01777e504d571d93b6251c7819aa268ed5b6 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 30 Nov 2009 17:20:10 +0000 Subject: [PATCH] There's an easier way.... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32245 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetVSpace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.2