#include "CoordCache.h"
#include "CutAndPaste.h"
#include "Cursor.h"
-#include "debug.h"
+#include "support/debug.h"
#include "DispatchResult.h"
#include "ErrorList.h"
#include "FuncRequest.h"
-#include "gettext.h"
+#include "support/gettext.h"
#include "InsetList.h"
#include "Intl.h"
#include "lyxfind.h"
#include <boost/bind.hpp>
#include <boost/assert.hpp>
-
-namespace lyx {
-
-using graphics::PreviewLoader;
-
-using support::isStrUnsignedInt;
+using namespace std;
+using namespace lyx::support;
using boost::bind;
using boost::ref;
-using std::endl;
-using std::for_each;
-using std::max;
-using std::string;
-using std::ostream;
-using std::vector;
+namespace lyx {
+
+using graphics::PreviewLoader;
InsetText::InsetText(BufferParams const & bp)
ParagraphList::iterator ins = pl.insert(pl.end(), *pit);
++pit;
mergeParagraph(buffer->params(), pl,
- std::distance(pl.begin(), ins) - 1);
+ distance(pl.begin(), ins) - 1);
for_each(pit, plist.end(),
bind(&ParagraphList::push_back, ref(pl), _1));