+/**
+ * \file insetindex.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS
+ */
#include <config.h>
#ifdef __GNUG__
void InsetIndex::edit(BufferView * bv, int, int, mouse_button::state)
{
- bv->owner()->getDialogs()->showIndex(this);
+ bv->owner()->getDialogs().showIndex(this);
}
}
-int InsetIndex::docbook(Buffer const *, ostream & os) const
+int InsetIndex::docbook(Buffer const *, ostream & os, bool) const
{
os << "<indexterm><primary>" << getContents()
<< "</primary></indexterm>";