diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-05-26 11:36:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-05-26 11:38:07 +0200 |
commit | 0f2981329c6b2cf409a506ad10f1485a8fc7d686 (patch) | |
tree | 00800ba534d3c202f0e1ab3c5a023cf9028685a7 /sdext | |
parent | 40587c191ecf6ec667f40e9148c197246e3c45a5 (diff) |
sdext: coverity#1409900 Uncaught exception
Change-Id: I45e277440718b9d173f164eaaa3112f4c474aa3a
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterTextView.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx index ca48c6f15f4f..39ad5591c4b9 100644 --- a/sdext/source/presenter/PresenterTextView.cxx +++ b/sdext/source/presenter/PresenterTextView.cxx @@ -1086,7 +1086,14 @@ PresenterTextCaret::PresenterTextCaret ( PresenterTextCaret::~PresenterTextCaret() { - HideCaret(); + try + { + HideCaret(); + } + catch (uno::Exception const&) + { + SAL_WARN("sdext.presenter", "unexpected exception in ~PresenterTextCaret"); + } } void PresenterTextCaret::ShowCaret() |