* src/support/filetools.C

(makeLatexName): Exclude ", otherwise we would trigger the same
	problem of unbalanced quotes as in bug 3266


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17336 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2007-02-25 09:00:28 +00:00
parent dc61ab467a
commit 914e698b8d

View File

@ -120,7 +120,7 @@ string const makeLatexName(string const & file)
// ok so we scan through the string twice, but who cares. // ok so we scan through the string twice, but who cares.
string const keep = "abcdefghijklmnopqrstuvwxyz" string const keep = "abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"@!\"'()*+,-./0123456789:;<=>?[]`|"; "@!'()*+,-./0123456789:;<=>?[]`|";
string::size_type pos = 0; string::size_type pos = 0;
while ((pos = name.find_first_not_of(keep, pos)) != string::npos) while ((pos = name.find_first_not_of(keep, pos)) != string::npos)