https://bugs.freedesktop.org/show_bug.cgi?id=58029

--- Comment #15 from Caolán McNamara <[email protected]> ---
FWIW, as you've seen the GetChildCount and GetChild(position) are epically slow
and dumb.

Can use e.g. 
for (Window* pChild = pWindow->GetWindow(WINDOW_FIRSTCHILD); pChild;
    pChild = pChild->GetWindow(WINDOW_NEXT))
{
...
}

to visit each immediate child of pWindow, and a call to
pWindow->GetWindow(WINDOW_FIRSTCHILD) to see if there are any children. This
isn't the first time there's been loads of children of a writer window. The
last time I think they were from the header/footer/page separator decorations
or some such

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to