diff options
Diffstat (limited to 'sw/source/core/doc/dbgoutsw.cxx')
-rw-r--r-- | sw/source/core/doc/dbgoutsw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx index 0ed6da0d74..4d34e555e1 100644 --- a/sw/source/core/doc/dbgoutsw.cxx +++ b/sw/source/core/doc/dbgoutsw.cxx @@ -550,7 +550,7 @@ String lcl_dbg_out(const SwNode & rNode) aTmpStr += String::CreateFromInt32(rNode.GetIndex()); aTmpStr += String("\"", RTL_TEXTENCODING_ASCII_US); -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 aTmpStr += String(" serial=\"", RTL_TEXTENCODING_ASCII_US); aTmpStr += String::CreateFromInt32(rNode.GetSerial()); aTmpStr += String("\"", RTL_TEXTENCODING_ASCII_US); @@ -1043,7 +1043,7 @@ String lcl_TokenType2Str(FormTokenType nType) return String("??", RTL_TEXTENCODING_ASCII_US); } - ASSERT(false, "should not be reached"); + OSL_ENSURE(false, "should not be reached"); return String("??", RTL_TEXTENCODING_ASCII_US); } |