svx/source/svdraw/textchainflow.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 7ebce5de15644a99c3ff209aa2adadbb110e670b Author: matteocam <matteo.campane...@gmail.com> Date: Fri Jul 10 18:18:32 2015 -0400 Set MaxAutoPaperSize explicitly after NbcSetOutlinerParaObj Change-Id: I00b0f02818b8e1192dc88420f443cedc61beb2a1 diff --git a/svx/source/svdraw/textchainflow.cxx b/svx/source/svdraw/textchainflow.cxx index 8907e3a..d144d28 100644 --- a/svx/source/svdraw/textchainflow.cxx +++ b/svx/source/svdraw/textchainflow.cxx @@ -150,8 +150,10 @@ void TextChainFlow::ExecuteUnderflow(SdrOutliner *pOutl) mpTargetLink->NbcSetOutlinerParaObject(pNewText); + // Restore size and set new text pOutl->SetMaxAutoPaperSize(aOldSize); pOutl->SetText(*pNewText); + pOutl->SetMaxAutoPaperSize(Size(pOutl->GetMaxAutoPaperSize().Width(), pOutl->GetTextHeight())); //GetTextChain()->SetNilChainingEvent(mpTargetLink, false); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits