1
0
Fork 0
libreoffice/external/clucene/patches/nullstring.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

11 lines
481 B
Diff

--- src/core/CLucene/index/SegmentInfos.cpp
+++ src/core/CLucene/index/SegmentInfos.cpp
@@ -358,7 +358,7 @@
if (delGen == NO) {
// In this case we know there is no deletion filename
// against this segment
- return NULL;
+ return {};
} else {
// If delGen is CHECK_DIR, it's the pre-lockless-commit file format
return IndexFileNames::fileNameFromGeneration(name.c_str(), (string(".") + IndexFileNames::DELETES_EXTENSION).c_str(), delGen);