Bug 5522 for branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30754 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-07-23 14:22:34 +00:00
parent d3e137dafb
commit 975cbd3266
2 changed files with 5 additions and 1 deletions

View File

@ -296,7 +296,9 @@ void updateExternal(InsetExternalParams const & params,
ALL_BUT_PATHS);
// if file is a relative name, it is interpreted
// relative to the master document.
exportdata.addExternalFile(rit->first, source, file);
if (makeAbsPath(file, masterBuffer->filePath()) !=
params.filename.absFilename())
exportdata.addExternalFile(rit->first, source, file);
}
}
}

View File

@ -79,6 +79,8 @@ What's new
- Visual support for the integral signs \fint and \fintop in formulas.
- Fix bug involving incorrect requests to overwrite external files (bug 5522).
* DOCUMENTATION AND LOCALIZATION