calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / external / clucene / patches / nullstring.patch
blob6043e9f008906cc8e0f737b9f03ab61216910085
1 --- src/core/CLucene/index/SegmentInfos.cpp
2 +++ src/core/CLucene/index/SegmentInfos.cpp
3 @@ -358,7 +358,7 @@
4 if (delGen == NO) {
5 // In this case we know there is no deletion filename
6 // against this segment
7 - return NULL;
8 + return {};
9 } else {
10 // If delGen is CHECK_DIR, it's the pre-lockless-commit file format
11 return IndexFileNames::fileNameFromGeneration(name.c_str(), (string(".") + IndexFileNames::DELETES_EXTENSION).c_str(), delGen);