]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.C
ws changes only
[lyx.git] / src / insets / insetindex.C
index 111a83800eb7b8125092e32f8904bd17a345c9ef..deaac12f606a2e052914ef92cc420f0ec6e45216 100644 (file)
@@ -9,19 +9,19 @@
  */
 #include <config.h>
 
-
 #include "insetindex.h"
-#include "metricsinfo.h"
-#include "BufferView.h"
+
 #include "funcrequest.h"
-#include "frontends/LyXView.h"
-#include "frontends/Dialogs.h"
-#include "LaTeXFeatures.h"
 #include "gettext.h"
-#include "support/LOstream.h"
+#include "LaTeXFeatures.h"
+#include "metricsinfo.h"
 
+#include "support/std_ostream.h"
+
+using std::string;
 using std::ostream;
 
+
 InsetIndex::InsetIndex(InsetCommandParams const & p)
        : InsetCommand(p)
 {}
@@ -39,7 +39,7 @@ InsetIndex::~InsetIndex()
 }
 
 
-string const InsetIndex::getScreenLabel(Buffer const *) const
+string const InsetIndex::getScreenLabel(Buffer const &) const
 {
        return _("Idx");
 }
@@ -73,7 +73,7 @@ dispatch_result InsetIndex::localDispatch(FuncRequest const & cmd)
 }
 
 
-int InsetIndex::docbook(Buffer const *, ostream & os, bool) const
+int InsetIndex::docbook(Buffer const &, ostream & os, bool) const
 {
        os << "<indexterm><primary>" << getContents()
           << "</primary></indexterm>";
@@ -102,7 +102,7 @@ InsetPrintIndex::~InsetPrintIndex()
 {}
 
 
-string const InsetPrintIndex::getScreenLabel(Buffer const *) const
+string const InsetPrintIndex::getScreenLabel(Buffer const &) const
 {
        return _("Index");
 }