commit 1c04e5e9318e3482c7dc53c2bbf4695b0d8c6b5e Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Mar 2 20:58:28 2025 +0100
Pass argument by address (spotted by Coverity Scan) --- src/insets/InsetTabular.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index 5687e61acf..5c1aaf79e0 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -86,7 +86,7 @@ public: /// void setContentAlignment(LyXAlignment al) { contentAlign = al; } /// - void setBackgroundColor(std::string const col) { background_color = col; } + void setBackgroundColor(std::string const & col) { background_color = col; } /// writes the contents of the cell as a string, optionally /// descending into insets docstring asString(bool intoInsets = true); -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs