From b33b8ff56ecfdcb4086f0437f60245b954f74d62 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 9 Jul 2005 08:13:54 +0000 Subject: [PATCH] compile fix for the latex_path patch from yesterday git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10160 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ExternalSupport.C | 2 +- src/support/filetools.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets/ExternalSupport.C b/src/insets/ExternalSupport.C index 4bb3f46d20..7c6a1b441a 100644 --- a/src/insets/ExternalSupport.C +++ b/src/insets/ExternalSupport.C @@ -72,7 +72,7 @@ string const subst_path(string const & input, if (input.find(placeholder) == string::npos) return input; string const path2 = use_latex_path ? - support::latex_path(path, exclude_extension, use_lyxdot) : + support::latex_path(path, exclude_extension) : support::os::external_path(path); return support::subst(input, placeholder, path2); } diff --git a/src/support/filetools.h b/src/support/filetools.h index fba202e24f..c3dd0459db 100644 --- a/src/support/filetools.h +++ b/src/support/filetools.h @@ -119,7 +119,7 @@ std::string const LibScriptSearch(std::string const & command); * It does not recognize the file extension if it is inside the quotes. */ std::string const latex_path(std::string const & path, - bool exclude_extension = false) + bool exclude_extension = false); /// Substitutes active latex characters with underscores in filename std::string const MakeLatexName(std::string const & file); -- 2.39.2