From eb4f963eefc21b0b0287b2ed6ed62d7ddfff329e Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 20 Feb 2015 11:51:40 +0100 Subject: [PATCH] Main argument of a subfloat is not a moving argument Fixes bug: #9421 --- src/insets/InsetFloat.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/insets/InsetFloat.cpp b/src/insets/InsetFloat.cpp index 9bd5bccaf9..0b6ed66fd9 100644 --- a/src/insets/InsetFloat.cpp +++ b/src/insets/InsetFloat.cpp @@ -345,6 +345,8 @@ void InsetFloat::latex(otexstream & os, OutputParams const & runparams_in) const os << caption; } os << '{'; + // The main argument is the contents of the float. This is not a moving argument. + rp.moving_arg = false; rp.inFloat = OutputParams::SUBFLOAT; InsetText::latex(os, rp); os << "}"; -- 2.39.5