diff options
Diffstat (limited to 'sd/source/ui/unoidl/unopage.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 <vcl/bitmapex.hxx> #include <vcl/metaact.hxx> #include <toolkit/helper/vclunohelper.hxx> +#include <tools/diagnose_ex.h> #include <vcl/svapp.hxx> #include <AnnotationEnumeration.hxx> #include <createunopageimpl.hxx> @@ -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!"); } } |