diff options
Diffstat (limited to 'sc/source/core/tool/chartlock.cxx')
-rw-r--r-- | sc/source/core/tool/chartlock.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sc/source/core/tool/chartlock.cxx b/sc/source/core/tool/chartlock.cxx index 54a49fb4b4aa..bf2a5d1015dd 100644 --- a/sc/source/core/tool/chartlock.cxx +++ b/sc/source/core/tool/chartlock.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -105,7 +106,7 @@ ScChartLockGuard::ScChartLockGuard( ScDocument* pDoc ) : } catch ( uno::Exception& ) { - DBG_ERROR("Unexpected exception in ScChartLockGuard"); + OSL_FAIL("Unexpected exception in ScChartLockGuard"); } } } @@ -124,7 +125,7 @@ ScChartLockGuard::~ScChartLockGuard() } catch ( uno::Exception& ) { - DBG_ERROR("Unexpected exception in ScChartLockGuard"); + OSL_FAIL("Unexpected exception in ScChartLockGuard"); } } } @@ -148,7 +149,7 @@ void ScChartLockGuard::AlsoLockThisChart( const Reference< frame::XModel >& xMod } catch ( uno::Exception& ) { - DBG_ERROR("Unexpected exception in ScChartLockGuard"); + OSL_FAIL("Unexpected exception in ScChartLockGuard"); } } } @@ -193,3 +194,5 @@ IMPL_LINK( ScTemporaryChartLock, TimeoutHdl, Timer*, EMPTYARG ) mapScChartLockGuard.reset(); return 0; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |