]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.cpp
Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList
[lyx.git] / src / insets / InsetBox.cpp
index 91619aa2ab0df0d94b8c65d0b7bc43abaf4f84f1..c12b405aaf697b4ce9e9c04cd03c2cbc59e4983f 100644 (file)
@@ -239,6 +239,13 @@ bool InsetBox::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
+bool InsetBox::isMacroScope(Buffer const &) const
+{
+       BoxType btype = boxtranslator().find(params_.type);
+       return btype != Frameless || params_.inner_box;
+}
+
+
 int InsetBox::latex(Buffer const & buf, odocstream & os,
                    OutputParams const & runparams) const
 {