]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.C
ws changes only
[lyx.git] / src / lyx_cb.C
index 216f3aca041ac02dca0e2b60064aeb1c53679c87..e9dbaccf92657c23fd00e66f46378a697148dbc9 100644 (file)
@@ -72,7 +72,7 @@ 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;
@@ -427,7 +427,7 @@ string getContentsOfAsciiFile(BufferView * bv, string const & f, bool asParagrap
 
 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();