summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-04 20:53:18 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-11 23:41:06 +0100
commitc910e691d263d4a729aa9cdf7950b5f1a3ec07d1 (patch)
tree9c120423026e6f2bbf902f908e3e3a923dd05fd6 /svl
parentf41e1e11f7e7f42d977efdbd017ff13317f1b647 (diff)
Move DBG_ERROR to OSL_FAIL for preprocessor string literals
Diffstat (limited to 'svl')
-rw-r--r--svl/source/inc/poolio.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index 11be49104a5e..655371242f80 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -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; \