Move DBG_ERROR to OSL_FAIL for preprocessor string literals
This commit is contained in:
parent
f41e1e11f7
commit
c910e691d2
1 changed files with 3 additions and 3 deletions
|
@ -128,7 +128,7 @@ struct SfxItemPool_Impl
|
|||
rStream >> nFileTag; \
|
||||
if ( nTag != nFileTag ) \
|
||||
{ \
|
||||
DBG_ERROR( #nTag ); /*! s.u. */ \
|
||||
OSL_FAIL( #nTag ); /*! s.u. */ \
|
||||
/*! error-code setzen und auswerten! */ \
|
||||
(rStream).SetError(SVSTREAM_FILEFORMAT_ERROR); \
|
||||
pImp->bStreaming = FALSE; \
|
||||
|
@ -141,7 +141,7 @@ struct SfxItemPool_Impl
|
|||
rStream >> nFileTag; \
|
||||
if ( nTag != nFileTag ) \
|
||||
{ \
|
||||
DBG_ERROR( #nTag ); /*! s.u. */ \
|
||||
OSL_FAIL( #nTag ); /*! s.u. */ \
|
||||
/*! error-code setzen und auswerten! */ \
|
||||
(rStream).SetError(SVSTREAM_FILEFORMAT_ERROR); \
|
||||
pImp->bStreaming = FALSE; \
|
||||
|
@ -155,7 +155,7 @@ struct SfxItemPool_Impl
|
|||
rStream >> nFileTag; \
|
||||
if ( nTag1 != nFileTag && nTag2 != nFileTag ) \
|
||||
{ \
|
||||
DBG_ERROR( #nTag1 ); /*! s.u. */ \
|
||||
OSL_FAIL( #nTag1 ); /*! s.u. */ \
|
||||
/*! error-code setzen und auswerten! */ \
|
||||
(rStream).SetError(SVSTREAM_FILEFORMAT_ERROR); \
|
||||
pImp->bStreaming = FALSE; \
|
||||
|
|
Loading…
Reference in a new issue