- if (!buffer_->isInternal()) {
- DocIterator dit;
- buffer_->inset().addToToc(dit, output_active, utype, *this);
- }
+}
+
+
+void TocBackend::update(bool output_active, UpdateType utype)
+{
+ reset();
+ if (buffer_->isInternal())
+ return;
+
+ DocIterator dit;
+ buffer_->inset().addToToc(dit, output_active, utype, *this);