Kaydet (Commit) ad50fa23 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

callcatcher: remove TextCharAttribList::DbgCheckAttribs

üst a434c523
...@@ -216,23 +216,6 @@ void TextCharAttribList::DeleteEmptyAttribs() ...@@ -216,23 +216,6 @@ void TextCharAttribList::DeleteEmptyAttribs()
mbHasEmptyAttribs = sal_False; mbHasEmptyAttribs = sal_False;
} }
#ifdef DBG_UTIL
sal_Bool TextCharAttribList::DbgCheckAttribs()
{
sal_Bool bOK = sal_True;
for ( sal_uInt16 nAttr = 0; nAttr < Count(); nAttr++ )
{
TextCharAttrib* pAttr = GetObject( nAttr );
if ( pAttr->GetStart() > pAttr->GetEnd() )
{
bOK = sal_False;
OSL_FAIL( "Attr verdreht" );
}
}
return bOK;
}
#endif
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// (+) class TextNode // (+) class TextNode
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
......
...@@ -69,10 +69,6 @@ public: ...@@ -69,10 +69,6 @@ public:
TextCharAttrib* FindEmptyAttrib( sal_uInt16 nWhich, sal_uInt16 nPos ); TextCharAttrib* FindEmptyAttrib( sal_uInt16 nWhich, sal_uInt16 nPos );
sal_Bool HasAttrib( sal_uInt16 nWhich ) const; sal_Bool HasAttrib( sal_uInt16 nWhich ) const;
sal_Bool HasBoundingAttrib( sal_uInt16 nBound ); sal_Bool HasBoundingAttrib( sal_uInt16 nBound );
#ifdef DBG_UTIL
sal_Bool DbgCheckAttribs();
#endif
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment