diff options
author | Jacek Wolszczak <shutdownrunner@gmail.com> | 2011-05-21 13:29:51 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-27 06:03:37 +0200 |
commit | 45df4e385910e1006d4bad4f674167c495b75673 (patch) | |
tree | ff5555958d1d61fdace85806bae6bf5a7d94c6a2 /sc/source/core/data/sheetevents.cxx | |
parent | a64076a0699d7a5f56c38530bedfd8d8fb6aef4e (diff) |
Replace DBG_* with OSL_* in sc/source/core
Diffstat (limited to 'sc/source/core/data/sheetevents.cxx')
-rw-r--r-- | sc/source/core/data/sheetevents.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sc/source/core/data/sheetevents.cxx b/sc/source/core/data/sheetevents.cxx index 652d2cc3eda2..d1650f9fcfdf 100644 --- a/sc/source/core/data/sheetevents.cxx +++ b/sc/source/core/data/sheetevents.cxx @@ -33,15 +33,13 @@ #include "sheetevents.hxx" #include <com/sun/star/script/vba/VBAEventId.hpp> -#include <tools/debug.hxx> - // ----------------------------------------------------------------------- rtl::OUString ScSheetEvents::GetEventName(sal_Int32 nEvent) { if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) { - DBG_ERRORFILE("invalid event number"); + OSL_FAIL("invalid event number"); return rtl::OUString(); } @@ -63,7 +61,7 @@ sal_Int32 ScSheetEvents::GetVbaSheetEventId(sal_Int32 nEvent) using namespace ::com::sun::star::script::vba::VBAEventId; if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) { - DBG_ERRORFILE("invalid event number"); + OSL_FAIL("invalid event number"); return NO_EVENT; } @@ -135,7 +133,7 @@ const rtl::OUString* ScSheetEvents::GetScript(sal_Int32 nEvent) const { if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) { - DBG_ERRORFILE("invalid event number"); + OSL_FAIL("invalid event number"); return NULL; } @@ -148,7 +146,7 @@ void ScSheetEvents::SetScript(sal_Int32 nEvent, const rtl::OUString* pNew) { if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) { - DBG_ERRORFILE("invalid event number"); + OSL_FAIL("invalid event number"); return; } |