[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source
matteocam
matteo.campanelli at gmail.com
Tue Jun 23 15:57:29 PDT 2015
svx/source/svdraw/svdotext.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit e0459b4291926491c268eee6ac13409d52de2121
Author: matteocam <matteo.campanelli at gmail.com>
Date: Tue Jun 23 18:56:31 2015 -0400
Setting paper size from editing outl to properly check for OF
Change-Id: I8fdcdf64a227adc2fb5df9428dc77f8036f35a22
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index c38170e..c6adc5a 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -2047,6 +2047,8 @@ void SdrTextObj::onUnderflowStatusEvent( )
// prepare for checking overflow
aDrawOutliner.SetUpdateMode(true);
aDrawOutliner.SetMaxAutoPaperSize(pEdtOutl->GetMaxAutoPaperSize());
+ aDrawOutliner.SetMinAutoPaperSize(pEdtOutl->GetMinAutoPaperSize());
+ aDrawOutliner.SetPaperSize(pEdtOutl->GetPaperSize());
aDrawOutliner.SetText(*pCurText);
aDrawOutliner.AddText(*pNextLinkWholeText);
More information about the Libreoffice-commits
mailing list