X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBuffer.cpp;h=e2185fbd897a18711e63f3a4c0335fa66ad007d9;hb=1639abb8edaa492c649e69d093436f8a96f07bec;hp=102b4ef6907e7f1891bb0e516bf008654e408627;hpb=82c3a44337875d29741c87c9fd380a7bddcf258a;p=lyx.git diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 102b4ef690..e2185fbd89 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -2229,8 +2229,8 @@ void Buffer::getLabelList(vector & list) const list.clear(); shared_ptr toc = d->toc_backend.toc("label"); - TocIterator toc_it = toc->begin(); - TocIterator end = toc->end(); + Toc::const_iterator toc_it = toc->begin(); + Toc::const_iterator end = toc->end(); for (; toc_it != end; ++toc_it) { if (toc_it->depth() == 0) list.push_back(toc_it->str());