diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 19:05:02 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 14:58:56 +0100 |
commit | a6e69f8fcd017519c37be409097108da6a6fcb33 (patch) | |
tree | 5906fed0faf294ccc3cc54a77a878e7b91a16f31 /sc/source/core/tool/addincol.cxx | |
parent | 775a632985975057f5fa6c196aaffcd0a05e617a (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sc/source/core/tool/addincol.cxx')
-rw-r--r-- | sc/source/core/tool/addincol.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx index 9a6d416552dc..9421304a1eac 100644 --- a/sc/source/core/tool/addincol.cxx +++ b/sc/source/core/tool/addincol.cxx @@ -1473,14 +1473,14 @@ void ScUnoAddInCall::SetParam( long nPos, const uno::Any& rValue ) aVarArg.getArray()[nVarPos] = rValue; else { - DBG_ERROR("wrong argument number"); + OSL_FAIL("wrong argument number"); } } else if ( nPos < aArgs.getLength() ) aArgs.getArray()[nPos] = rValue; else { - DBG_ERROR("wrong argument number"); + OSL_FAIL("wrong argument number"); } } } @@ -1510,7 +1510,7 @@ void ScUnoAddInCall::ExecuteCall() long nCallPos = pFuncData->GetCallerPos(); if (nCallPos>nUserLen) // should not happen { - DBG_ERROR("wrong CallPos"); + OSL_FAIL("wrong CallPos"); nCallPos = nUserLen; } |