https://bugs.documentfoundation.org/show_bug.cgi?id=125460
--- Comment #7 from Noel Grandin <[email protected]> ---
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs