]> git.lyx.org Git - features.git/commitdiff
compile fix for the latex_path patch from yesterday
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 9 Jul 2005 08:13:54 +0000 (08:13 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 9 Jul 2005 08:13:54 +0000 (08:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10160 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ExternalSupport.C
src/support/filetools.h

index 4bb3f46d20ab5cf326027d619a2226f0f47ce550..7c6a1b441a6de506b82e03d57841a80c025b2877 100644 (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);
 }
index fba202e24f3b0fc530708d9e9e62532e588bfd8e..c3dd0459db519fd0213a6c320c39df73160e0ebd 100644 (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);