summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterTextView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterTextView.cxx')
-rw-r--r--sdext/source/presenter/PresenterTextView.cxx9
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()