summaryrefslogtreecommitdiffstats
path: root/sc/source/core/tool/chartlock.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/chartlock.cxx')
-rw-r--r--sc/source/core/tool/chartlock.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/core/tool/chartlock.cxx b/sc/source/core/tool/chartlock.cxx
index f1ecef38df5e..b001697ec72f 100644
--- a/sc/source/core/tool/chartlock.cxx
+++ b/sc/source/core/tool/chartlock.cxx
@@ -21,6 +21,7 @@
#include <svx/svditer.hxx>
#include <svx/svdoole2.hxx>
#include <svx/svdpage.hxx>
+#include <tools/diagnose_ex.h>
#include <chartlock.hxx>
#include <document.hxx>
@@ -93,7 +94,7 @@ ScChartLockGuard::ScChartLockGuard( ScDocument* pDoc ) :
}
catch ( uno::Exception& )
{
- OSL_FAIL("Unexpected exception in ScChartLockGuard");
+ TOOLS_WARN_EXCEPTION( "sc", "Unexpected exception in ScChartLockGuard");
}
}
}
@@ -110,7 +111,7 @@ ScChartLockGuard::~ScChartLockGuard()
}
catch ( uno::Exception& )
{
- OSL_FAIL("Unexpected exception in ScChartLockGuard");
+ TOOLS_WARN_EXCEPTION( "sc", "Unexpected exception in ScChartLockGuard");
}
}
}
@@ -134,7 +135,7 @@ void ScChartLockGuard::AlsoLockThisChart( const Reference< frame::XModel >& xMod
}
catch ( uno::Exception& )
{
- OSL_FAIL("Unexpected exception in ScChartLockGuard");
+ TOOLS_WARN_EXCEPTION( "sc", "Unexpected exception in ScChartLockGuard");
}
}
}