#include <boost/assert.hpp>
using namespace std;
+using namespace lyx::support;
using boost::bind;
using boost::ref;
using graphics::PreviewLoader;
-using support::isStrUnsignedInt;
-
InsetText::InsetText(BufferParams const & bp)
: drawFrame_(false), frame_color_(Color_insetframe)
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));