]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.cpp
Fix GRAPHICS_EDIT of InsetGraphics
[lyx.git] / src / insets / InsetBox.cpp
index b81ac332f25bba197ca0805123bd3558ca353752..3510109515217106e1115f649553ce4cdb9744d5 100644 (file)
@@ -167,7 +167,7 @@ void InsetBox::metrics(MetricsInfo & m, Dimension & dim) const
 }
 
 
-bool InsetBox::forceEmptyLayout() const
+bool InsetBox::forceEmptyLayout(idx_type) const
 {
        return !params_.inner_box;
 }
@@ -233,13 +233,6 @@ bool InsetBox::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
-bool InsetBox::isMacroScope() const
-{
-       BoxType btype = boxtranslator().find(params_.type);
-       return btype != Frameless || params_.inner_box;
-}
-
-
 int InsetBox::latex(odocstream & os, OutputParams const & runparams) const
 {
        BoxType btype = boxtranslator().find(params_.type);