]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloat.cpp
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetFloat.cpp
index f8807f974cc00d0641c39679d9bf6631e41a02d1..dfbd208c9f36cd0c3f2a54321a34e04db60859fc 100644 (file)
@@ -152,7 +152,7 @@ void InsetFloat::doDispatch(Cursor & cur, FuncRequest & cmd)
                setNewLabel();
                if (params_.type != params.type) {
                        params_.type = params.type;
-                       buffer().updateLabels();
+                       buffer().updateBuffer();
                }
                break;
        }
@@ -192,7 +192,7 @@ bool InsetFloat::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
-void InsetFloat::updateLabels(ParIterator const & it, UpdateType utype)
+void InsetFloat::updateBuffer(ParIterator const & it, UpdateType utype)
 {
        Counters & cnts =
                buffer().masterBuffer()->params().documentClass().counters();
@@ -214,7 +214,7 @@ void InsetFloat::updateLabels(ParIterator const & it, UpdateType utype)
        cnts.current_float(params().type);
        cnts.isSubfloat(subflt);
 
-       InsetCollapsable::updateLabels(it, utype);
+       InsetCollapsable::updateBuffer(it, utype);
 
        //reset afterwards
        cnts.current_float(saveflt);
@@ -427,14 +427,6 @@ bool InsetFloat::insetAllowed(InsetCode code) const
 }
 
 
-bool InsetFloat::showInsetDialog(BufferView * bv) const
-{
-       if (!InsetText::showInsetDialog(bv))
-               bv->showDialog("float");
-       return true;
-}
-
-
 void InsetFloat::setWide(bool w, bool update_label)
 {
        params_.wide = w;