]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
remove most traces of boost::regex
[lyx.git] / src / Buffer.cpp
index 23f6315f5f63dc69cdc1878977dc6112883a3751..f537ac047d5ea73a1a67f8cdf5e8a9ce154ac905 100644 (file)
@@ -3882,9 +3882,9 @@ void Buffer::updateMacroInstances(UpdateType utype) const
                        continue;
 
                // update macro in all cells of the InsetMathNest
-               DocIterator::idx_type n = minset->nargs();
+               idx_type n = minset->nargs();
                MacroContext mc = MacroContext(this, it);
-               for (DocIterator::idx_type i = 0; i < n; ++i) {
+               for (idx_type i = 0; i < n; ++i) {
                        MathData & data = minset->cell(i);
                        data.updateMacros(nullptr, mc, utype, 0);
                }