X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferList.cpp;h=61d62206a3f3e35e740c74f2cf25022e331d2370;hb=2098f1d8c20d51e63e670bcdc9da8996068975bf;hp=422457d0bb20d091bb8fb7a58252e53f3f302756;hpb=f3b3f62d5b74e8379170e004c209dfde66c13302;p=lyx.git diff --git a/src/BufferList.cpp b/src/BufferList.cpp index 422457d0bb..61d62206a3 100644 --- a/src/BufferList.cpp +++ b/src/BufferList.cpp @@ -336,4 +336,17 @@ bool BufferList::releaseChild(Buffer * parent, Buffer * child) } +void BufferList::changed(bool update_metrics) const +{ + BufferStorage::const_iterator it = bstore.begin(); + BufferStorage::const_iterator end = bstore.end(); + for (; it != end; ++it) + (*it)->changed(update_metrics); + it = binternal.begin(); + end = binternal.end(); + for (; it != end; ++it) + (*it)->changed(update_metrics); +} + + } // namespace lyx