]> git.lyx.org Git - features.git/commitdiff
Fix \hfill output which was broken by the InsetCommand changes.
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 19 Oct 2006 17:09:59 +0000 (17:09 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 19 Oct 2006 17:09:59 +0000 (17:09 +0000)
getCommand does not include the {} anymore, because \hfill has no arguments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15379 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/insethfill.C

index dbf49cb9c1b7017232607e5c6ecfcea12873b8df..96d05c336a4f0d24316d4c479ccd58af3830a1c0 100644 (file)
@@ -49,7 +49,7 @@ docstring const InsetHFill::getScreenLabel(Buffer const &) const
 int InsetHFill::latex(Buffer const &, odocstream & os,
                      OutputParams const &) const
 {
-       os << getCommand();
+       os << getCommand() << "{}";
        return 0;
 }