Create a text document, and put 70 000 times of character 'a'. Ctrl+H to open F&R dialog, put the character 'a' into the "Find" box, and use [Find All] button. Since version 7.5 (tdf#126535), the number of matches is shown; but it's wrapped at 65536. The example above will show "4464" instead of the expected 70000.
https://gerrit.libreoffice.org/c/core/+/183324
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a62d9e9bb6b565e83c422066cf1f428173cdc0e0 tdf#165910: use sal_Int32 for match count It will be available in 25.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-25-2": https://git.libreoffice.org/core/commit/c24f23de3e4399cfa199ef61f5c8e837b5457c60 tdf#165910: use sal_Int32 for match count It will be available in 25.2.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.