#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));