]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.cpp
Add lfuns doxy.
[lyx.git] / src / BufferParams.cpp
index bb77a838140c1ccccab46bdf8356a882c04a3d34..9e2ff3c57e20702ea2b02280480f8880b1158e42 100644 (file)
@@ -1421,7 +1421,7 @@ void BufferParams::makeTextClass()
                                                "may not be possible.\n"), from_utf8(modName));
                        frontend::Alert::warning(_("Package not available"), msg);
                }
-               FileName layout_file = libFileSearch("layouts", lm->filename);
+               FileName layout_file = libFileSearch("layouts", lm->getFilename());
                textClass_->read(layout_file, TextClass::MODULE);
        }
 }