]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbib.C
some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagra...
[lyx.git] / src / insets / insetbib.C
index 7f396772fd2e293ea7b99fb64bc7dc357929c991..6db97e73a2cda17cde1f460900139c9451f1a895 100644 (file)
@@ -261,11 +261,7 @@ int bibitemMaxWidth(BufferView * bv, LyXFont const & font)
                        int const wx = par->bibkey->width(bv, font);
                        if (wx > w) w = wx;
                }
-#ifndef NEW_INSETS
-               par = par->next_;
-#else
                par = par->next();
-#endif
        }
        return w;
 }
@@ -290,11 +286,7 @@ string const bibitemWidest(Buffer const * buffer)
                                bkey = par->bibkey;
                        }
                }
-#ifndef NEW_INSETS#
-               par = par->next_;
-#else
                par = par->next();
-#endif
        }
     
        if (bkey && !bkey->getBibLabel().empty())