]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileName.cpp
an example for the sweave module, prepared by Gregor Gorjanc
[lyx.git] / src / support / FileName.cpp
index cc0d675d3712f215702b0140c7954c6db8c35f3a..2a1815ec5b03a8468d3cbcd3c9db6de49994dc48 100644 (file)
@@ -213,7 +213,7 @@ string FileName::realPath() const
 void FileName::set(string const & name)
 {
        d->fi.setFile(toqstr(name));
-       d->name = d->fi.absoluteFilePath();
+       d->name = fromqstr(d->fi.absoluteFilePath());
        //LYXERR(Debug::FILES, "FileName::set(" << name << ')');
        LASSERT(empty() || isAbsolute(d->name), /**/);
 }