diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-04-27 18:07:54 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-04-27 22:29:10 +0200 |
commit | 1df637bde32c484b681ecdfebf56fdca03db7fc1 (patch) | |
tree | f4a9927217fc0b6fc81c95c5a66c15b09c1b5fde /include/cppunittester | |
parent | 91a1342aa2930268006614680ec439c6ebecdedb (diff) |
tdf#88555: band-aid fix, using GetPos/find instead of Contains
to find out whether given format still exists.
GetPos was replaced by Contains on multiple places in commit
98436c4b53639d86f261ac630c46d32e3c7b8e28 but sometimes after
series of undos/redos, vtable of some items in those format arrays
becomes corrupt and it makes dynamic_cast (as used by Contains)
fail and Writer falls flat on its face.
This is just a workaround, no idea about the root cause.
Change-Id: I1e02fd932dbac741687c15900841b9b7c778e2d4
Reviewed-on: https://gerrit.libreoffice.org/37038
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'include/cppunittester')
0 files changed, 0 insertions, 0 deletions