]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbibitem.C
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetbibitem.C
index cc26ab979b102faac373a923540ca4d869badb27..24da31f2d5b28a2ccf5324059a43fb22f8524736 100644 (file)
@@ -43,7 +43,7 @@ InsetBibitem::~InsetBibitem()
 }
 
 
-Inset * InsetBibitem::clone(Buffer const &) const
+Inset * InsetBibitem::clone() const
 {
        InsetBibitem * b = new InsetBibitem(params());
        b->setCounter(counter);
@@ -51,14 +51,6 @@ Inset * InsetBibitem::clone(Buffer const &) const
 }
 
 
-// Inset * InsetBibitem::clone(Buffer const &, bool) const
-// {
-//     InsetBibitem * b = new InsetBibitem(params());
-//     b->setCounter(counter);
-//     return b;
-// }
-
-
 dispatch_result InsetBibitem::localDispatch(FuncRequest const & cmd)
 {
        switch (cmd.action) {
@@ -174,6 +166,7 @@ string const bibitemWidest(Buffer const * buffer)
 
        ParagraphList::const_iterator it = buffer->paragraphs.begin();
        ParagraphList::const_iterator end = buffer->paragraphs.end();
+
        for (; it != end; ++it) {
                if (it->bibitem()) {
                        int const wx =