[LyX/master] Rename shadowing texcolormap_

Kornel Benko kornel at lyx.org
Fri Feb 20 15:40:47 UTC 2026


commit 2b5963835b61b827c82f250dcc059044aacdf2af
Author: Kornel Benko <kornel at lyx.org>
Date:   Fri Feb 20 16:39:35 2026 +0100

    Rename shadowing texcolormap_
---
 src/tests/dummy4checklayout.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/dummy4checklayout.cpp b/src/tests/dummy4checklayout.cpp
index 88543fee70..716ec92234 100644
--- a/src/tests/dummy4checklayout.cpp
+++ b/src/tests/dummy4checklayout.cpp
@@ -52,8 +52,8 @@ bool LaTeXColors::isLaTeXColor(string const & /* name */)
 
 LaTeXColors::TexColorMap LaTeXColors::getLaTeXColors()
 {
-	static TexColorMap texcolormap_;
-	return(texcolormap_);
+	static TexColorMap texcolormapx;
+	return(texcolormapx);
 }
 
 LaTeXColor LaTeXColors::getLaTeXColor(string const & /* name */)


More information about the lyx-cvs mailing list