]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.C
Make it compile when USE_BOOST_FORMAT is unset
[lyx.git] / src / insets / insetindex.C
index 1e5e2c6de32d8f2183ed240ba90bb989dc00eb19..2cc96574fd379744bdc0ce9712c514f5dcd7963f 100644 (file)
@@ -1,3 +1,12 @@
+/**
+ * \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__
@@ -27,7 +36,7 @@ string const InsetIndex::getScreenLabel(Buffer const *) const
 
 void InsetIndex::edit(BufferView * bv, int, int, mouse_button::state)
 {
-       bv->owner()->getDialogs()->showIndex(this);
+       bv->owner()->getDialogs().showIndex(this);
 }
 
 
@@ -37,7 +46,7 @@ void InsetIndex::edit(BufferView * bv, bool)
 }
 
 
-int InsetIndex::docbook(Buffer const *, ostream & os) const
+int InsetIndex::docbook(Buffer const *, ostream & os, bool) const
 {
        os << "<indexterm><primary>" << getContents()
           << "</primary></indexterm>";