https://bugs.documentfoundation.org/show_bug.cgi?id=96687

--- Comment #5 from Justin L <[email protected]> ---
After MarkSelectionInvalid, nothing was attempting to validate the text portion
again because it was still marked as bFormatted=true.  So a possible fix is:

+mpImpl->mpTextEngine->TextModified();
mpImpl->mpTextEngine->FormatAndUpdate( this );

+mpImpl->mpTextEngine->mbFormatted;  would be a more targeted fix, but
mbModified doesn't seem to be used anyway and likely wouldn't cause any harmful
side-effects except perhaps using a bit of extra processing power to re-verify
layout.  It seems better to use a function than to set a variable directly,
even though mbFormatted is a public variable.

This fixes the problem in all the places mentioned in Comment 3.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to