[Libreoffice-bugs] [Bug 125460] LibreOffice freezes in attempt to open specific docx-file
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 4 13:51:46 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=125460
--- Comment #7 from Noel Grandin <noelgrandin at gmail.com> ---
The problem (AFAIK) is that the setSize() operation resets rotation, which
forces us to restore object rotation, which is very expensive when we are
applying rotation to a group object containing tons of sub-objects.
We will probably need a new method setSizeWithoutAffectingRotation(), and plumb
it down through the following stack, which will be tricky because svx/ is
tricky, and there are UNO interfaces in the way.
#0 SdrTextObj::NbcResize(Point const&, Fraction const&, Fraction const&) at
svx/source/svdraw/svdotxtr.cxx:159
#1 SdrPathObj::NbcResize(Point const&, Fraction const&, Fraction const&) at
svx/source/svdraw/svdopath.cxx:2300
#2 SdrObject::Resize(Point const&, Fraction const&, Fraction const&, bool)
at svx/source/svdraw/svdobj.cxx:1519
#3 SdrObjGroup::Resize(Point const&, Fraction const&, Fraction const&, bool)
at svx/source/svdraw/svdogrp.cxx:613
#4 SdrObjGroup::SetSnapRect(tools::Rectangle const&) at
svx/source/svdraw/svdogrp.cxx:521
#5 svx_setLogicRectHack(SdrObject*, tools::Rectangle const&) at
svx/source/unodraw/unoshape.cxx:1126
#6 SvxShape::setSize(com::sun::star::awt::Size const&) at
svx/source/unodraw/unoshape.cxx:1245
#7 SvxShapeGroup::setSize(com::sun::star::awt::Size const&) at
svx/source/unodraw/unoshap2.cxx:167
#8 SwXShape::setSize(com::sun::star::awt::Size const&) at
sw/source/core/unocore/unodraw.cxx:2320
#9 writerfilter::dmapper::GraphicImport::lcl_attribute(unsigned int,
writerfilter::Value&)
at writerfilter/source/dmapper/GraphicImport.cxx:766
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190904/44b958fd/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list