Files
loongoffice/sw/qa/core/data/README
Justin Luth b6850b9827 tdf#52065 sw: revert tdf#45908: Cleaning up the tabs too early
... can cause loops
from LO 3.5 commit 36c905d8c2874f6f984d5fbbc07784ec20c43524

The PostFormat for Center and Decimal tabstops is critical
since the space they take up is unknown until the following
text is evaluated.
The search position in these two cases is invalid
until the text position is calculated by PostFormat.

PostFormat normally returns FALSE, so in almost all
cases the rest of NewTabPortion completes. The function only
returned early if the start of the tabstop was beyond
the right margin. I assume the original intent was to
avoid potentially unnecessary processing.
However, returning early can cause looping,
which the LO 3.5 commit "fixed" by removing everything.
Well, just remove the early return and both problems are solved.

Change-Id: I4afc4cce8249f90097bc1f263df1a39bc219098d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112559
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-03-17 09:28:46 +01:00

24 lines
958 B
Plaintext

Files with the string 'CVE' in their name are encrypted to avoid
problems with virus checkers on source code download.; use:
mdecrypt --bare -a arcfour -o hex -k 435645 -s 3 foo.doc # to unencrypt
mcrypt --bare -a arcfour -o hex -k 435645 -s 3 foo.doc # to create new tests
to get access to the plain files for manual testing.
The files in these subdirectories are tested to
ensure that they import without crashing or hanging.
Files that crash during export should go into exportdata.
Both data and exportdata are tested with
make CppunitTest_sw_filters_test or
make CppunitTest_sw_filters_test2 for ww6.
Files that hang interactively, but pass filters_test
might be failing because of layout issues. See core/layout.
pass: these files now load - without the fix they crashed or hung.
fail: these files still fail to load, but not because of crashing or hanging.
indeterminate: untested temporary holding area - to be sorted as pass/fail.