diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 100374ae8205..e6173fdb9a09 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -145,7 +145,7 @@ View::~View() if (mxDropMediaSizeListener) { - mxDropMediaSizeListener->dispose(); + suppress_fun_call_w_exception(mxDropMediaSizeListener->dispose()); mxDropMediaSizeListener.clear(); } @@ -157,7 +157,6 @@ View::~View() while(PaintWindowCount()) { // remove all registered OutDevs - // cid#1485150 silence Uncaught exception suppress_fun_call_w_exception(DeleteWindowFromPaintView(GetFirstOutputDevice())); } }