1
0
Fork 0
libreoffice/external/clucene/patches/write-strings.patch
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

22 lines
610 B
Diff

--- src/contribs-lib/CLucene/analysis/PorterStemmer.cpp
+++ src/contribs-lib/CLucene/analysis/PorterStemmer.cpp
@@ -94,7 +94,7 @@
return true;
}
- bool PorterStemmer::ends(TCHAR *s) {
+ bool PorterStemmer::ends(const TCHAR *s) {
size_t l = _tcslen(s);
size_t o = k-l+1;
if (o < k0)
--- src/contribs-lib/CLucene/analysis/PorterStemmer.h
+++ src/contribs-lib/CLucene/analysis/PorterStemmer.h
@@ -68,7 +68,7 @@
*/
bool cvc(size_t i);
- bool ends(TCHAR *s);
+ bool ends(const TCHAR *s);
/* setto(s) sets (j+1),...k to the characters in the string s, readjusting
k. */