summaryrefslogtreecommitdiff
path: root/sd/source/core/undoanim.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/core/undoanim.cxx')
-rw-r--r--sd/source/core/undoanim.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sd/source/core/undoanim.cxx b/sd/source/core/undoanim.cxx
index 707d14bf885b..64b2333226ea 100644
--- a/sd/source/core/undoanim.cxx
+++ b/sd/source/core/undoanim.cxx
@@ -27,6 +27,7 @@
#include <sdresid.hxx>
#include <CustomAnimationEffect.hxx>
#include <drawdoc.hxx>
+#include <tools/diagnose_ex.h>
namespace com::sun::star::animations { class XAnimationNode; }
@@ -58,7 +59,7 @@ UndoAnimation::UndoAnimation( SdDrawDocument* pDoc, SdPage* pThePage )
}
catch( Exception& )
{
- OSL_FAIL("sd::UndoAnimation::UndoAnimation(), exception caught!");
+ TOOLS_WARN_EXCEPTION( "sd", "sd::UndoAnimation::UndoAnimation()");
}
}
@@ -85,7 +86,7 @@ void UndoAnimation::Undo()
}
catch( Exception& )
{
- OSL_FAIL("sd::UndoAnimation::Undo(), exception caught!");
+ TOOLS_WARN_EXCEPTION( "sd", "sd::UndoAnimation::Undo()");
}
}
@@ -100,7 +101,7 @@ void UndoAnimation::Redo()
}
catch( Exception& )
{
- OSL_FAIL("sd::UndoAnimation::Redo(), exception caught!");
+ TOOLS_WARN_EXCEPTION( "sd", "sd::UndoAnimation::Redo()");
}
}