Files
loongoffice/sd/qa/unit/tiledrendering/data/PDFSearch.pdf
Tomaž Vajngerl a99aef3cf0 sd: fix not found case in PDF search + add PDF Search tests
When searching the PDF and the search text is not found (anymore)
in the current VectorGraphicSearch, we need to remove it and mark
that we don't currently search in a vector graphic (PDF) anymore.
This wasn't handled correctly and caused a crash.

In addition add a LOKit test for search into a PDF document, to
make sure the not-found case and usual searching case are working
correctly.

Change-Id: I663a6b2cf4879f11d62e440ea0c35ffcd205f81f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95380
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-03 07:42:36 +02:00

14 KiB