Kaydet (Commit) c3513475 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

SetObjectItemSet() eventually calls NbcAdjustTextFrameWidthAndHeight().

No need to call this (rather expensive) method twice.

Change-Id: I4c0a54acd1da0b8504ae7eb96beda4a8531943c7
üst 4a3e7d46
......@@ -1480,10 +1480,7 @@ void SdrObjCustomShape::AdaptTextMinSize()
}
if(bChanged)
{
SetObjectItemSet(aSet);
NbcAdjustTextFrameWidthAndHeight();
}
}
}
......
......@@ -600,7 +600,6 @@ void SdrTextObj::AdaptTextMinSize()
}
SetObjectItemSet(aSet);
NbcAdjustTextFrameWidthAndHeight();
}
void SdrTextObj::ImpSetContourPolygon( SdrOutliner& rOutliner, Rectangle& rAnchorRect, bool bLineWidth ) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment