diff options
Diffstat (limited to 'sd/source/core/drawdoc3.cxx')
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 02c6054751b2..13dae3e90c37 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -26,6 +26,7 @@ #include <sfx2/app.hxx> #include <svl/itemset.hxx> #include <tools/debug.hxx> +#include <tools/diagnose_ex.h> #include <sfx2/fcontnr.hxx> #include <svl/style.hxx> @@ -931,7 +932,7 @@ bool SdDrawDocument::InsertBookmarkAsPage( } catch(...) { - OSL_FAIL("Exception while renaming styles @ SdDrawDocument::InsertBookmarkAsPage"); + TOOLS_WARN_EXCEPTION( "sd", "Exception while renaming styles @ SdDrawDocument::InsertBookmarkAsPage"); } } // remove copied styles not used on any inserted page and create |