diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2019-10-13 21:29:24 +0300 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2019-11-16 19:19:40 +0100 |
commit | cbfc87cb39406045e6f561a178bec3c7d10fae02 (patch) | |
tree | 1b810208d7f8383e49e79067f50efe201a789ce4 /sax | |
parent | 87b9b9cbffd788c67b195e0ad54ca425ac259e0c (diff) |
oox: avoid control freeze on exception
If exception happens somewhere in exportDocument() or later,
document controls could be remain locked and later cause crash
due to missing exception handler.
Use scope guard to avoid this problem on exception.
(cherry picked from commit ce684e7d06fc37ac6b672f5676e6113fcf41a03e)
Change-Id: I1ce4e487833ddc4b1f1b708f3a7e10bb299ef354
Reviewed-on: https://gerrit.libreoffice.org/80752
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sax')
0 files changed, 0 insertions, 0 deletions