From: Vincent van Ravesteijn Date: Tue, 12 May 2009 20:15:20 +0000 (+0000) Subject: Do the same as r29646, now for FileName::set. X-Git-Tag: 2.0.0~6592 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=44afac0e4a778cf758294794fa69cb235785dc4e;p=features.git Do the same as r29646, now for FileName::set. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29647 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 0684c20a54..cc0d675d37 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -212,8 +212,8 @@ string FileName::realPath() const void FileName::set(string const & name) { - d->name = name; d->fi.setFile(toqstr(name)); + d->name = d->fi.absoluteFilePath(); //LYXERR(Debug::FILES, "FileName::set(" << name << ')'); LASSERT(empty() || isAbsolute(d->name), /**/); }