]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
Partial fix bug 2092: branches not propagated to child documents
[lyx.git] / src / BufferView.C
index 9b33d6567bb0e6771ddbb4388846f0eed8669ce8..31e01b155bae53be96e9146e4d8f931687d0ee63 100644 (file)
@@ -45,7 +45,6 @@
 #include "frontends/WorkArea.h"
 
 #include "insets/insetcommand.h" // ChangeRefs
-#include "insets/updatableinset.h"
 #include "insets/insettext.h"
 
 using lyx::support::bformat;
@@ -142,9 +141,9 @@ bool BufferView::fitCursor()
 }
 
 
-void BufferView::update(bool fitcursor, bool forceupdate)
+void BufferView::update(Update::flags flags)
 {
-       pimpl_->update(fitcursor, forceupdate);
+       pimpl_->update(flags);
 }