X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetindex.C;h=02498e2be3c88ded7f6114b28b09444a9a708e5e;hb=b922cdd796f9e4b9a46a79808cdee596e04903eb;hp=73e24fc274cd33888ad47537b4dda7edae71e77c;hpb=15a971fec2b7425cf692cda1ba68b0e37004a465;p=lyx.git diff --git a/src/insets/insetindex.C b/src/insets/insetindex.C index 73e24fc274..02498e2be3 100644 --- a/src/insets/insetindex.C +++ b/src/insets/insetindex.C @@ -10,6 +10,9 @@ #include "frontends/Dialogs.h" #include "LaTeXFeatures.h" #include "gettext.h" +#include "support/LOstream.h" + +using std::ostream; InsetIndex::InsetIndex(InsetCommandParams const & p, bool) : InsetCommand(p) @@ -59,7 +62,7 @@ string const InsetPrintIndex::getScreenLabel(Buffer const *) const void InsetPrintIndex::validate(LaTeXFeatures & features) const { - features.makeidx = true; + features.require("makeidx"); }