]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.cpp
fix http://bugzilla.lyx.org/show_bug.cgi?id=4998
[lyx.git] / src / insets / InsetFlex.cpp
index 1972f52295008016d09b6f3c6d007702bc90ae20..b768a4b344ecd88a498745911465bc6fb3ee5c45 100644 (file)
 
 #include "Buffer.h"
 #include "BufferParams.h"
-#include "support/gettext.h"
 #include "LaTeXFeatures.h"
 #include "Lexer.h"
-#include "Text.h"
 #include "MetricsInfo.h"
 #include "Paragraph.h"
 #include "paragraph_funcs.h"
 #include "sgml.h"
+#include "Text.h"
+
+#include "support/gettext.h"
 
 #include <ostream>
 
@@ -110,7 +111,7 @@ int InsetFlex::docbook(odocstream & os, OutputParams const & runparams) const
 
 void InsetFlex::textString(odocstream & os) const
 {
-       os << paragraphs().begin()->asString(true);
+       os << paragraphs().begin()->asString(AS_STR_LABEL | AS_STR_INSETS);
 }