]> git.lyx.org Git - features.git/commitdiff
There's an easier way....
authorRichard Heck <rgheck@comcast.net>
Mon, 30 Nov 2009 17:20:10 +0000 (17:20 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 30 Nov 2009 17:20:10 +0000 (17:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32245 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetVSpace.cpp

index 478c1ace81d02f49f3a6823df9e05f8aa3f7675c..b499b0bcc9c6d79f0981e5e01a0f704f85005409 100644 (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();
 }