git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32895 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-01-08 18:46:09 +00:00
parent 1ce79a0c63
commit 67ddc3944c

View File

@ -134,7 +134,7 @@ string asValidLatexCommand(string const & input, CiteEngine const engine)
docstring complexLabel(Buffer const & buffer, docstring complexLabel(Buffer const & buffer,
string const & citeType, docstring const & keyList, string const & citetype, docstring const & keylist,
docstring const & before, docstring const & after, docstring const & before, docstring const & after,
CiteEngine engine) CiteEngine engine)
{ {
@ -158,7 +158,7 @@ docstring complexLabel(Buffer const & buffer,
// CITE: author/<before field> // CITE: author/<before field>
// We don't currently use the full or forceUCase fields. // We don't currently use the full or forceUCase fields.
string cite_type = asValidLatexCommand(citeType, engine); string cite_type = asValidLatexCommand(citetype, engine);
if (cite_type[0] == 'C') if (cite_type[0] == 'C')
// If we were going to use them, this would mean ForceUCase // If we were going to use them, this would mean ForceUCase
cite_type = string(1, 'c') + cite_type.substr(1); cite_type = string(1, 'c') + cite_type.substr(1);
@ -212,7 +212,7 @@ docstring complexLabel(Buffer const & buffer,
docstring const sep_str = from_ascii(sep) + ' '; docstring const sep_str = from_ascii(sep) + ' ';
docstring label; docstring label;
vector<docstring> keys = getVectorFromString(keyList); vector<docstring> keys = getVectorFromString(keylist);
vector<docstring>::const_iterator it = keys.begin(); vector<docstring>::const_iterator it = keys.begin();
vector<docstring>::const_iterator end = keys.end(); vector<docstring>::const_iterator end = keys.end();
for (; it != end; ++it) { for (; it != end; ++it) {