cid#1485150 silence Uncaught exception
Change-Id: Ib7aa5dc2cd7e32d31e9da84e6dcb9e6ce5b472d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130888 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
6b6c9fc67c
commit
390bba81f5
1 changed files with 1 additions and 2 deletions
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue