X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetindex.C;h=486aeb23111eb845002f76c2d95d5f78f60f3c40;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=6e5bcff1800d68980daf2b9a93198d02fd891501;hpb=45a5dda367810a88667aa516e9ee7d0cc64162d7;p=lyx.git diff --git a/src/insets/insetindex.C b/src/insets/insetindex.C index 6e5bcff180..486aeb2311 100644 --- a/src/insets/insetindex.C +++ b/src/insets/insetindex.C @@ -10,6 +10,7 @@ #include "frontends/Dialogs.h" #include "LaTeXFeatures.h" #include "gettext.h" +#include "support/LOstream.h" using std::ostream; @@ -26,7 +27,7 @@ string const InsetIndex::getScreenLabel(Buffer const *) const void InsetIndex::edit(BufferView * bv, int, int, unsigned int) { - bv->owner()->getDialogs()->showIndex( this ); + bv->owner()->getDialogs()->showIndex(this); } @@ -61,7 +62,7 @@ string const InsetPrintIndex::getScreenLabel(Buffer const *) const void InsetPrintIndex::validate(LaTeXFeatures & features) const { - features.makeidx = true; + features.require("makeidx"); }