mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Make two parameters const references
This commit is contained in:
parent
ffca6730d6
commit
3649cea9e5
@ -258,7 +258,7 @@ bool InsetIndexMacro::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
|
|
||||||
|
|
||||||
void InsetIndexMacro::processLatexSorting(otexstream & os, OutputParams const & runparams,
|
void InsetIndexMacro::processLatexSorting(otexstream & os, OutputParams const & runparams,
|
||||||
docstring const latex, docstring const plain) const
|
docstring const & latex, docstring const & plain) const
|
||||||
{
|
{
|
||||||
if (contains(latex, '\\') && !contains(latex, '@')) {
|
if (contains(latex, '\\') && !contains(latex, '@')) {
|
||||||
// Plaintext might return nothing (e.g. for ERTs).
|
// Plaintext might return nothing (e.g. for ERTs).
|
||||||
|
@ -101,7 +101,7 @@ private:
|
|||||||
docstring toolTip(BufferView const & bv, int x, int y) const override;
|
docstring toolTip(BufferView const & bv, int x, int y) const override;
|
||||||
///
|
///
|
||||||
void processLatexSorting(otexstream &, OutputParams const &,
|
void processLatexSorting(otexstream &, OutputParams const &,
|
||||||
docstring const, docstring const) const;
|
docstring const &, docstring const &) const;
|
||||||
///
|
///
|
||||||
bool hasSortKey() const;
|
bool hasSortKey() const;
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user