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
This commit is contained in:
Vincent van Ravesteijn 2009-05-12 20:15:20 +00:00
parent 2f8a71056b
commit 44afac0e4a

View File

@ -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), /**/);
}