From d6d80c4e1783b4459bd4a8fbcbdfeebe416c1cb5 Mon Sep 17 00:00:00 2001 From: Noel Date: Mon, 30 Nov 2020 14:19:29 +0200 Subject: OSL_FAIL.*exception -> TOOLS_WARN_EXCEPTION Change-Id: I6800e23ead2767d245d5da71d2d40e0f8a6d7e1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106859 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/unoidl/unopage.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/unoidl') diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 11417c30651b..54a779ade127 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -2860,7 +2861,7 @@ void SdMasterPage::setBackground( const Any& rValue ) } catch( Exception& ) { - OSL_FAIL("sd::SdMasterPage::setBackground(), exception caught!"); + TOOLS_WARN_EXCEPTION( "sd", "sd::SdMasterPage::setBackground()"); } } @@ -2917,8 +2918,8 @@ void SdMasterPage::getBackground( Any& rValue ) } catch( Exception& ) { + TOOLS_WARN_EXCEPTION( "sd", "sd::SdMasterPage::getBackground()"); rValue.clear(); - OSL_FAIL("sd::SdMasterPage::getBackground(), exception caught!"); } } -- cgit