]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetInfo.cpp
index fa769710739808ca576a413b323e7ef7b7dbc636..45d63287c89d7b92111f0e529a2ea7af9b7525a7 100644 (file)
@@ -82,7 +82,7 @@ NameTranslator const & nameTranslator()
 
 
        
-InsetInfo::InsetInfo(Buffer const & buf, string const & name) 
+InsetInfo::InsetInfo(Buffer * buf, string const & name) 
        : InsetCollapsable(buf), type_(UNKNOWN_INFO), name_()
 {
        setAutoBreakRows(true);
@@ -355,7 +355,7 @@ void InsetInfo::updateInfo()
                FileName file(to_utf8(icon_name));
                if (!file.exists())
                        break;
-               InsetGraphics * inset = new InsetGraphics(buffer());
+               InsetGraphics * inset = new InsetGraphics(buffer_);
                InsetGraphicsParams igp;
                igp.filename = file;
                inset->setParams(igp);