using lyx::support::MakeDisplayPath;
using lyx::support::OnlyFilename;
using lyx::support::OnlyPath;
-using lyx::support::os;
using lyx::support::Path;
using lyx::support::removeAutosaveFile;
using lyx::support::rename;
using lyx::support::unlink;
using lyx::support::user_lyxdir;
+namespace os = lyx::support::os;
+
using std::back_inserter;
using std::copy;
using std::endl;
using std::make_pair;
-
+using std::string;
using std::ifstream;
using std::ios;
using std::istream_iterator;
string const getPossibleLabel(BufferView const & bv)
{
- ParagraphList::iterator pit = bv.getLyXText()->cursor.par();
+ ParagraphList::iterator pit = bv.getLyXText()->cursorPar();
ParagraphList & plist = bv.getLyXText()->ownerParagraphs();
LyXLayout_ptr layout = pit->layout();