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

--- Comment #5 from Michael Meeks <[email protected]> ---
I can't reproduce the problem, you prolly need valgrind.

I'm rather suspicious of this code though:

void PolyPolygon::Insert( const Polygon& rPoly, sal_uInt16 nPos )
{
    if ( nPos > mpImplPolyPolygon->mnCount )
        nPos = mpImplPolyPolygon->mnCount;

...

Which looks pretty ugly (to me) - why not use a std::vector - but I guess it's
deadly old and must work.

Beyond that - I guess getting valgrind to kick us into gdb at that point, and
examining what's going on with the outer loop:

sal_uLong GDIMetaFile::GetSizeBytes() const
{
    sal_uLong nSizeBytes = 0;

    for( size_t i = 0, nObjCount = GetActionSize(); i < nObjCount; ++i )
    {
        MetaAction* pAction = GetAction( i );

what pAction is, what GetActionSize() is etc. might help ...

But sorry no fix :-)

-- 
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