diff options
author | Jan Holesovsky <kendy@collabora.com> | 2019-10-04 00:09:15 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-10-04 15:14:22 +0200 |
commit | 9fc6029c9066701b36fc28e32cb540d520b578e2 (patch) | |
tree | 350742bd9ff6e6116b9a46bdd8ca5f8d552526c7 /vcl | |
parent | d97f27133ddc07ca224297a7525dcda6297077bc (diff) |
tdf#127941: Don't be _that_ eager to assert(!IsTextEdit());
Turns out that this is still a condition that can happen regularly:
* open Impress
* click an object with a spelling mistake
* press F7 to activate the spelling dialog (don't choose it from the
menu)
=> assert()
It is unclear how to sort this out correctly without refactoring, and
also unclear how many other cases fail this condition, so let's change
to SAL_WARN_IF for the moment.
Change-Id: I97730cc93c86c279973702bbf4ddc922f1616c0b
Reviewed-on: https://gerrit.libreoffice.org/80169
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'vcl')
0 files changed, 0 insertions, 0 deletions