diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-10-14 17:40:40 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-10-22 18:07:29 -0400 |
commit | 4a3e7d46c106a8d75c399b0fc21ab3808a9b2467 (patch) | |
tree | bed7919bcc5c61a0e56775ccf8c020b8f21f5bb7 /svx/source/svdraw/svdotxtr.cxx | |
parent | df3995232349ac5aac14e28d2931b9862b5c047a (diff) |
AdoptTextMinSize() calls NbcAdjustTextFrameWidthAndHeight() at the end.
No need to call this again in the caller.
Change-Id: Ib36853cf5a0720082275e0490b4443cd9e0bd007
Diffstat (limited to 'svx/source/svdraw/svdotxtr.cxx')
-rw-r--r-- | svx/source/svdraw/svdotxtr.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/svx/source/svdraw/svdotxtr.cxx b/svx/source/svdraw/svdotxtr.cxx index 1107c9b486ca..c7c91a8e1653 100644 --- a/svx/source/svdraw/svdotxtr.cxx +++ b/svx/source/svdraw/svdotxtr.cxx @@ -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(); } |