diff options
Diffstat (limited to 'sw/source/core/unocore/unoredline.cxx')
-rw-r--r-- | sw/source/core/unocore/unoredline.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx index e022bd534a21..a996fe11f084 100644 --- a/sw/source/core/unocore/unoredline.cxx +++ b/sw/source/core/unocore/unoredline.cxx @@ -438,11 +438,11 @@ void SwXRedline::setPropertyValue( const OUString& rPropertyName, const uno::Any throw uno::RuntimeException(); if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_AUTHOR))) { - DBG_ERROR("currently not available"); + OSL_FAIL("currently not available"); } else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_DATE_TIME))) { - DBG_ERROR("currently not available"); + OSL_FAIL("currently not available"); } else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_COMMENT))) { @@ -451,14 +451,14 @@ void SwXRedline::setPropertyValue( const OUString& rPropertyName, const uno::Any } else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_TYPE))) { - DBG_ERROR("currently not available"); + OSL_FAIL("currently not available"); OUString sTmp; aValue >>= sTmp; if(!sTmp.getLength()) throw lang::IllegalArgumentException(); } else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_SUCCESSOR_DATA))) { - DBG_ERROR("currently not available"); + OSL_FAIL("currently not available"); } else { @@ -512,7 +512,7 @@ uno::Any SwXRedline::getPropertyValue( const OUString& rPropertyName ) } break; default: - DBG_ERROR("illegal node type"); + OSL_FAIL("illegal node type"); } aRet <<= xRet; } |