+2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * insetlabel.C (changeRefsIfUnique): remove unused code
+
2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
bug 1375
ParIterator it = bv.buffer()->par_iterator_begin();
ParIterator end = bv.buffer()->par_iterator_end();
for ( ; it != end; ++it) {
- bool changed_inset = false;
for (InsetList::iterator it2 = it->insetlist.begin();
it2 != it->insetlist.end(); ++it2) {
if (it2->inset->lyxCode() == code) {
InsetCommand * inset = static_cast<InsetCommand *>(it2->inset);
if (inset->getContents() == from) {
inset->setContents(to);
- //inset->setButtonLabel();
- changed_inset = true;
}
}
}