+
+unsigned int closeEnvTags(ostream & os, bool mixcont,
+ string const & environment_inner_depth,
+ string const & itemtag,
+ lyx::depth_type total_depth)
+{
+ unsigned int lines = 0;
+ if (environment_inner_depth != "!-- --") {
+ lines += closeTag(os, total_depth, mixcont, itemtag);
+ if (!environment_inner_depth.empty())
+ lines += closeTag(os, total_depth, mixcont,
+ environment_inner_depth);
+ }
+ return lines;
+}
+
+