commit 587e7269cf4af9b9d489bc18b45ae7d208b12635
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Tue Dec 2 17:58:41 2025 +0100
Use class name to access static members (spotted by Coverity Scan)
---
src/lyxfind.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index 46180ceea4..b4a2f99a9c 100644
--- a/src/lyxfind.cpp
+++ b/src/lyxfind.cpp
@@ -3275,8 +3275,8 @@ int LatexInfo::dispatch(ostringstream &os, int
previousStart, KeyInfo &actual)
actual._dataEnd++;
interval_.addIntervall(0, actual._dataEnd+1);
interval_.actualdeptindex = 0;
- interval_.depts[0] = actual._dataEnd+1;
- interval_.closes[0] = -1;
+ Intervall::depts[0] = actual._dataEnd+1;
+ Intervall::closes[0] = -1;
break;
}
case KeyInfo::isText:
@@ -4937,8 +4937,8 @@ static int findAdvReplace(BufferView * bv,
FindAndReplaceOptions const & opt, Ma
ostringstream oss;
repl_buffer_orig.write(oss);
string lyx = oss.str();
- if (matchAdv.valid_matches > 0)
- replaceMatches(lyx, matchAdv.valid_matches, matchAdv.matches);
+ if (MatchStringAdv::valid_matches > 0)
+ replaceMatches(lyx, MatchStringAdv::valid_matches,
MatchStringAdv::matches);
Buffer repl_buffer(string(), false);
repl_buffer.setInternal(true);
repl_buffer.setUnnamed(true);
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs