mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +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.
|
||||
docstring id = xml::cleanID(newIndexTerms);
|
||||
if (hasStartRange) {
|
||||
attrs = indexType + " class=\"startofrange\" xml:id=\"" + id + "\"";
|
||||
attrs = indexType + R"( class="startofrange" xml:id=")" + id + "\"";
|
||||
} else {
|
||||
attrs = " class=\"endofrange\" startref=\"" + id + "\"";
|
||||
attrs = R"( class="endofrange" startref=")" + id + "\"";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user