]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.C
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[lyx.git] / src / paragraph.C
index 0a082a5eb2fcb32c9ea922bff8d5e3bb0ce4a07d..0f848a48df03eca04438be6f9784c0a615a93b1b 100644 (file)
@@ -26,7 +26,7 @@
 #include "gettext.h"
 #include "changes.h"
 
-#include "insets/insetbib.h"
+#include "insets/insetbibitem.h"
 #include "insets/insetoptarg.h"
 
 #include "support/filetools.h"
@@ -942,11 +942,11 @@ int Paragraph::getPositionOfInset(Inset const * inset) const
 }
 
 
-InsetBibKey * Paragraph::bibkey()
+InsetBibitem * Paragraph::bibitem()
 {
        InsetList::iterator it = insetlist.begin();
        if (it != insetlist.end() && it.getInset()->lyxCode() == Inset::BIBTEX_CODE)
-               return static_cast<InsetBibKey *>(it.getInset()); 
+               return static_cast<InsetBibitem *>(it.getInset()); 
        return 0;
 }