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

--- Comment #3 from Stephan Bergmann <sberg...@redhat.com> ---
The deadlock is apparently happening in the call to
pOLENd->GetOLEObj().GetOleRef()->getComponent() in SwNoTxtFrm::PaintPicture
(sw/source/core/doc/notxtfrm.cxx).  Comparing execution of sfx2_complex before
and after 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70, in the "before" case that
call is never reached because the condition

  else if( bIsChart
    // Charts must be painted resolution dependent!! #i82893#, #i75867#
    && ChartPrettyPainter::ShouldPrettyPaintChartOnThisDevice( pOut )
    && svt::EmbeddedObjectRef::TryRunningState( pOLENd->GetOLEObj().GetOleRef()
)
    && ChartPrettyPainter::DoPrettyPaintChart( uno::Reference< frame::XModel >(
        pOLENd->GetOLEObj().GetOleRef()->getComponent(), uno::UNO_QUERY),
        pOut, aAlignedGrfArea.SVRect() ) )

is never executed past the call to
ChartPrettyPainter::ShouldPrettyPaintChartOnThisDevice (i.e., that always
returns false).

In the "after" case, this code has been completely redesigned, and esp. no call
to
ChartPrettyPainter::ShouldPrettyPaintChartOnThisDevice remains.

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

Reply via email to