20#include <osl/diagnose.h>
47 size_t nComparePos = 0;
48 while ( nComparePos < pRects->
size() )
51 sal_Int32 nBottom = aCompRect.
Bottom();
52 size_t nOtherPos = nComparePos + 1;
54 while ( nOtherPos < pRects->
size() )
57 if ( aOtherRect.
Top() > nBottom + 1 )
62 if ( aOtherRect.
Top() == nBottom + 1 &&
63 aOtherRect.
Left() == aCompRect.
Left() &&
67 nBottom = aOtherRect.
Bottom();
69 (*pRects)[nComparePos].SetBottom( nBottom );
::std::vector< tools::Rectangle > * pRects
tools::Rectangle aTotalRect
void AddRect(const tools::Rectangle &rRect)
ScInvertMerger(::std::vector< tools::Rectangle > *pRectangles)
tools::Rectangle aLineRect