X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferList.cpp;h=b068f66e5e1ba4e66e92fa97faa7d47ad63199a5;hb=16d5c49b383841826d1bc563e2d392e12e497ed8;hp=0b76f13b87308dd8dde5435e7bed9b9e7d28d133;hpb=489dca71cd99bbc78780fa40311a2eb042c0320e;p=lyx.git diff --git a/src/BufferList.cpp b/src/BufferList.cpp index 0b76f13b87..b068f66e5e 100644 --- a/src/BufferList.cpp +++ b/src/BufferList.cpp @@ -249,6 +249,15 @@ void BufferList::emergencyWriteAll() } +void BufferList::invalidateConverterCache() const +{ + BufferStorage::const_iterator it = bstore.begin(); + BufferStorage::const_iterator const en = bstore.end(); + for (; it != en; ++it) + (*it)->params().invalidateConverterCache(); +} + + bool BufferList::exists(FileName const & fname) const { return getBuffer(fname) != 0;