commit b067d1142be88c208076c9bfb50ce40541443995
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Feb 20 16:51:26 2026 +0100
amend 2b596383
---
src/tests/dummy4checklayout.cpp | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/tests/dummy4checklayout.cpp b/src/tests/dummy4checklayout.cpp
index 716ec92234..14d38c366c 100644
--- a/src/tests/dummy4checklayout.cpp
+++ b/src/tests/dummy4checklayout.cpp
@@ -52,12 +52,15 @@ bool LaTeXColors::isLaTeXColor(string const & /* name */)
LaTeXColors::TexColorMap LaTeXColors::getLaTeXColors()
{
- static TexColorMap texcolormapx;
- return(texcolormapx);
+ // this is just an empty dummy,
+ // the colors themselves are not needed
+ static TexColorMap dummy_texcolormap;
+ return(dummy_texcolormap);
}
LaTeXColor LaTeXColors::getLaTeXColor(string const & /* name */)
{
+ // the color itself is not needed
return LaTeXColor();
}
} // namespace lyx
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs