]> git.lyx.org Git - features.git/blobdiff - src/insets/insetbib.C
some cascading name changes
[features.git] / src / insets / insetbib.C
index 06ab28f976436b3932626482db25e6391736c6fe..7f396772fd2e293ea7b99fb64bc7dc357929c991 100644 (file)
@@ -261,7 +261,11 @@ int bibitemMaxWidth(BufferView * bv, LyXFont const & font)
                        int const wx = par->bibkey->width(bv, font);
                        if (wx > w) w = wx;
                }
-               par = par->next;
+#ifndef NEW_INSETS
+               par = par->next_;
+#else
+               par = par->next();
+#endif
        }
        return w;
 }
@@ -286,7 +290,11 @@ string const bibitemWidest(Buffer const * buffer)
                                bkey = par->bibkey;
                        }
                }
-               par = par->next;
+#ifndef NEW_INSETS#
+               par = par->next_;
+#else
+               par = par->next();
+#endif
        }
     
        if (bkey && !bkey->getBibLabel().empty())