]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.cpp
Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList
[lyx.git] / src / insets / InsetFloatList.cpp
index 44599dda9bc58d1f89d7a16a4036c1e82e008e7d..642ef7e3ef79423c2d296edf35c9ca3facb5ca9b 100644 (file)
 
 #include "Buffer.h"
 #include "BufferParams.h"
-#include "debug.h"
+#include "support/debug.h"
 #include "DispatchResult.h"
 #include "Floating.h"
 #include "FloatList.h"
 #include "FuncRequest.h"
-#include "gettext.h"
+#include "support/gettext.h"
 #include "LaTeXFeatures.h"
 #include "Lexer.h"
 #include "MetricsInfo.h"
 
 #include "support/lstrings.h"
 
+#include <ostream>
 
-namespace lyx {
-
-using support::bformat;
+using namespace std;
+using namespace lyx::support;
 
-using std::endl;
-using std::string;
-using std::ostream;
+namespace lyx {
 
 
 InsetFloatList::InsetFloatList()
@@ -50,7 +48,7 @@ InsetFloatList::InsetFloatList(string const & type)
 }
 
 
-CommandInfo const * InsetFloatList::findInfo(std::string const & /* cmdName */)
+CommandInfo const * InsetFloatList::findInfo(string const & /* cmdName */)
 {
        static const char * const paramnames[] = {"type", ""};
        static const bool isoptional[] = {false};
@@ -60,8 +58,9 @@ CommandInfo const * InsetFloatList::findInfo(std::string const & /* cmdName */)
 
 
 //HACK
-bool InsetFloatList::isCompatibleCommand(std::string const & s) {
-       std::string str = s.substr(0, 6);
+bool InsetFloatList::isCompatibleCommand(string const & s)
+{
+       string str = s.substr(0, 6);
        return str == "listof";
 }