diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 19:08:19 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 14:46:42 +0100 |
commit | 11d20507806d30e2d1955b93a568b84a2216ef69 (patch) | |
tree | b34fa3afac27eac9404f16e46b530aa2cbcad41d /svl/source/numbers/numhead.cxx | |
parent | 7b981b7cab15e0fc2ebb159df2d40c3a2499b265 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'svl/source/numbers/numhead.cxx')
-rw-r--r-- | svl/source/numbers/numhead.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/numbers/numhead.cxx b/svl/source/numbers/numhead.cxx index ac91f2978e24..d2274f8d5051 100644 --- a/svl/source/numbers/numhead.cxx +++ b/svl/source/numbers/numhead.cxx @@ -69,7 +69,7 @@ ULONG SvNumReadHeader::BytesLeft() const if (nReadEnd <= nDataEnd) return nDataEnd-nReadEnd; - DBG_ERROR("Fehler bei SvNumReadHeader::BytesLeft"); + OSL_FAIL("Fehler bei SvNumReadHeader::BytesLeft"); return 0; } @@ -119,7 +119,7 @@ ImpSvNumMultipleReadHeader::ImpSvNumMultipleReadHeader(SvStream& rNewStream) : rStream >> nID; if (nID != SV_NUMID_SIZES) { - DBG_ERROR("SV_NUMID_SIZES nicht gefunden"); + OSL_FAIL("SV_NUMID_SIZES nicht gefunden"); } sal_uInt32 nSizeTableLen; rStream >> nSizeTableLen; @@ -154,7 +154,7 @@ void ImpSvNumMultipleReadHeader::Skip( SvStream& rStream ) rStream >> nID; if ( nID != SV_NUMID_SIZES ) { - DBG_ERROR("SV_NUMID_SIZES nicht gefunden"); + OSL_FAIL("SV_NUMID_SIZES nicht gefunden"); } sal_uInt32 nSizeTableLen; rStream >> nSizeTableLen; @@ -190,7 +190,7 @@ ULONG ImpSvNumMultipleReadHeader::BytesLeft() const if (nReadEnd <= nEntryEnd) return nEntryEnd-nReadEnd; - DBG_ERROR("Fehler bei ImpSvNumMultipleReadHeader::BytesLeft"); + OSL_FAIL("Fehler bei ImpSvNumMultipleReadHeader::BytesLeft"); return 0; } |