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

AdoptTextMinSize() calls NbcAdjustTextFrameWidthAndHeight() at the end.

No need to call this again in the caller.

Change-Id: Ib36853cf5a0720082275e0490b4443cd9e0bd007
üst df399523
......@@ -63,11 +63,6 @@ void SdrTextObj::NbcSetSnapRect(const Rectangle& rRect)
// #115391#
AdaptTextMinSize();
if (bTextFrame && (pModel==NULL || !pModel->IsPasteResize()))
{
NbcAdjustTextFrameWidthAndHeight();
}
ImpCheckShear();
SetRectsDirty();
}
......@@ -92,11 +87,6 @@ void SdrTextObj::NbcSetLogicRect(const Rectangle& rRect)
// #115391#
AdaptTextMinSize();
if(bTextFrame)
{
NbcAdjustTextFrameWidthAndHeight();
}
SetRectsDirty();
}
......
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