commit 3649cea9e59ecbf1c1831c54781a7aaff342714f
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Fri Sep 13 11:27:00 2024 +0200

    Make two parameters const references
---
 src/insets/InsetIndexMacro.cpp | 2 +-
 src/insets/InsetIndexMacro.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetIndexMacro.cpp b/src/insets/InsetIndexMacro.cpp
index cbd17a17e1..e3af7a96f7 100644
--- a/src/insets/InsetIndexMacro.cpp
+++ b/src/insets/InsetIndexMacro.cpp
@@ -258,7 +258,7 @@ bool InsetIndexMacro::getStatus(Cursor & cur, FuncRequest 
const & cmd,
 
 
 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, '@')) {
                // Plaintext might return nothing (e.g. for ERTs).
diff --git a/src/insets/InsetIndexMacro.h b/src/insets/InsetIndexMacro.h
index b7ceed3fba..5acd8a98cd 100644
--- a/src/insets/InsetIndexMacro.h
+++ b/src/insets/InsetIndexMacro.h
@@ -101,7 +101,7 @@ private:
        docstring toolTip(BufferView const & bv, int x, int y) const override;
        ///
        void processLatexSorting(otexstream &, OutputParams const &,
-                           docstring const, docstring const) const;
+                           docstring const &, docstring const &) const;
        ///
        bool hasSortKey() const;
        ///
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to