]> git.lyx.org Git - lyx.git/commit
Fix for bugs 2199 and 3667. Most of the changes were to the logic. Buffers
authorRichard Heck <rgheck@comcast.net>
Thu, 24 May 2007 17:17:04 +0000 (17:17 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 24 May 2007 17:17:04 +0000 (17:17 +0000)
commitd2fb80eec7583200b34d4ce7fe8602fefa706955
tree6bc9cd8cf2f5ba1f647924af1e4d130e7fa1b040
parentd3960356066ff6189408bdea93fdc9abdcb7a1cf
Fix for bugs 2199 and 3667. Most of the changes were to the logic. Buffers
that were opened for possible included LyX files need to be closed if those
files cannot be loaded, for example. A bit more work was needed to allow a
LyX file to include itself as a verbatim or listings without trying to load
itself and without relying upon loadIfNeeded() to report the problem.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18494 a592a061-630c-0410-9148-cb99ea01b6c8
src/LyXFunc.cpp
src/insets/InsetInclude.cpp