mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Use C++11 string literals to make code easier to read.
This commit is contained in:
parent
3fdf3aafe8
commit
6b1441036f
@ -505,9 +505,9 @@ void InsetIndex::docbook(XMLStream & xs, OutputParams const & runparams) const
|
|||||||
// Generate the attributes.
|
// Generate the attributes.
|
||||||
docstring id = xml::cleanID(newIndexTerms);
|
docstring id = xml::cleanID(newIndexTerms);
|
||||||
if (hasStartRange) {
|
if (hasStartRange) {
|
||||||
attrs = indexType + " class=\"startofrange\" xml:id=\"" + id + "\"";
|
attrs = indexType + R"( class="startofrange" xml:id=")" + id + "\"";
|
||||||
} else {
|
} else {
|
||||||
attrs = " class=\"endofrange\" startref=\"" + id + "\"";
|
attrs = R"( class="endofrange" startref=")" + id + "\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user