]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommand.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetCommand.cpp
index f412985be576f6889ab71cd3d229803a021c78b6..e75c7aeff032c2e73764f2ac97fc8c3e8da13d20 100644 (file)
@@ -51,9 +51,9 @@ namespace lyx {
 
 // FIXME Would it now be possible to use the InsetCode in 
 // place of the mailer name and recover that information?
-InsetCommand::InsetCommand(Buffer *, InsetCommandParams const & p,
+InsetCommand::InsetCommand(Buffer * buf, InsetCommandParams const & p,
                           string const & mailer_name)
-       : Inset(0), p_(p),
+       : Inset(buf), p_(p),
          mailer_name_(mailer_name),
          mouse_hover_(false)
 {}