From e4d874646142ec1a633a973698b6cf1b5e3a067e Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 8 Mar 2010 13:34:32 +0000 Subject: [PATCH] Minor fixup. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33672 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetInclude.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index 575bfecd6c..51ad133588 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -679,9 +679,7 @@ docstring InsetInclude::xhtml(XHTMLStream & xs, OutputParams const &rp) const // We don't (yet) know how to Input or Include non-LyX files. // (If we wanted to get really arcane, we could run some tex2html // converter on the included file. But that's just masochistic.) - string const parent_filename = buffer().absFileName(); - FileName const included_file = - makeAbsPath(to_utf8(params()["filename"]), onlyPath(parent_filename)); + FileName const included_file = includedFilename(buffer()); if (!isLyXFilename(included_file.absFilename())) { frontend::Alert::warning(_("Unsupported Inclusion"), bformat(_("LyX does not know how to include non-LyX files when " -- 2.39.2