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
This commit is contained in:
Georg Baum 2005-07-09 08:13:54 +00:00
parent 01a76dcfc8
commit b33b8ff56e
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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);