svx/source/svdraw/svdoashp.cxx | 3 --- svx/source/svdraw/svdotext.cxx | 1 - 2 files changed, 4 deletions(-)
New commits: commit 6b4691403493bc283e4c742366f48d6a1cbd7145 Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Wed Oct 15 10:04:51 2014 -0400 SetObjectItemSet() eventually calls NbcAdjustTextFrameWidthAndHeight(). No need to call this (rather expensive) method twice. Change-Id: I4c0a54acd1da0b8504ae7eb96beda4a8531943c7 diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index 858772c..7f17a11 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -1480,10 +1480,7 @@ void SdrObjCustomShape::AdaptTextMinSize() } if(bChanged) - { SetObjectItemSet(aSet); - NbcAdjustTextFrameWidthAndHeight(); - } } } diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index a96efe9..ca79e62 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -600,7 +600,6 @@ void SdrTextObj::AdaptTextMinSize() } SetObjectItemSet(aSet); - NbcAdjustTextFrameWidthAndHeight(); } void SdrTextObj::ImpSetContourPolygon( SdrOutliner& rOutliner, Rectangle& rAnchorRect, bool bLineWidth ) const _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits