]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.cpp
Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList
[lyx.git] / src / insets / InsetIndex.cpp
index 1c479b6bbdf43dc5eaeeb998580b17068202d835..9a41978d9b31f476794af4f91a83d99d221306f4 100644 (file)
 
 #include <ostream>
 
+using namespace std;
 
 namespace lyx {
 
-using std::string;
-using std::ostream;
-
 
 InsetIndex::InsetIndex(BufferParams const & bp)
        : InsetCollapsable(bp)
@@ -54,7 +52,7 @@ Inset * InsetIndex::clone() const
 }
 
 
-void InsetIndex::write(Buffer const & buf, std::ostream & os) const
+void InsetIndex::write(Buffer const & buf, ostream & os) const
 {
        os << to_utf8(name()) << "\n";
        InsetCollapsable::write(buf, os);
@@ -66,7 +64,7 @@ InsetPrintIndex::InsetPrintIndex(InsetCommandParams const & p)
 {}
 
 
-CommandInfo const * InsetPrintIndex::findInfo(std::string const & /* cmdName */)
+CommandInfo const * InsetPrintIndex::findInfo(string const & /* cmdName */)
 {
        static const char * const paramnames[] = {"name", ""};
        static const bool isoptional[] = {false};