diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx index 58ee0c40904a..ac87b78fb06d 100644 --- a/sw/source/core/text/inftxt.cxx +++ b/sw/source/core/text/inftxt.cxx @@ -489,12 +489,7 @@ void SwTextPaintInfo::CtorInitTextPaintInfo( OutputDevice* pRenderContext, SwTex pWrongList = nullptr; pGrammarCheckList = nullptr; pSmartTags = nullptr; - -#if OSL_DEBUG_LEVEL > 1 - pBrushItem = reinterpret_cast(-1); -#else pBrushItem = nullptr; -#endif } SwTextPaintInfo::SwTextPaintInfo( const SwTextPaintInfo &rInf, const OUString* pText ) diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx index 7170e20563c1..720d3fb3f0a7 100644 --- a/sw/source/core/text/inftxt.hxx +++ b/sw/source/core/text/inftxt.hxx @@ -376,11 +376,7 @@ protected: , pGrammarCheckList(nullptr) , pSmartTags(nullptr) , pSpaceAdd(nullptr) -#ifdef DBG_UTIL - , pBrushItem(reinterpret_cast(-1)) -#else , pBrushItem(nullptr) -#endif , nSpaceIdx(0) {}