svx/source/svdraw/svdotextdecomposition.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 7097d951e56ef241f4535514280c76ceb7f08d1e Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Oct 5 19:40:07 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Oct 5 21:27:57 2022 +0200 I suspect the sizes are not enraged Change-Id: I2e03b49d3eb9e4123ecd75783d7b585ef9faab3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140993 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx index f5955eb7d869..220a8549bbaf 100644 --- a/svx/source/svdraw/svdotextdecomposition.cxx +++ b/svx/source/svdraw/svdotextdecomposition.cxx @@ -759,7 +759,7 @@ void SdrTextObj::impDecomposeAutoFitTextPrimitive( rOutliner.SetMinAutoPaperSize(aNullSize); rOutliner.SetMaxAutoPaperSize(Size(1000000,1000000)); - // add one to rage sizes to get back to the old Rectangle and outliner measurements + // add one to range sizes to get back to the old Rectangle and outliner measurements const sal_uInt32 nAnchorTextWidth(FRound(aAnchorTextRange.getWidth() + 1)); const sal_uInt32 nAnchorTextHeight(FRound(aAnchorTextRange.getHeight() + 1)); const OutlinerParaObject* pOutlinerParaObject = rSdrAutofitTextPrimitive.getSdrText()->GetOutlinerParaObject(); @@ -948,7 +948,7 @@ void SdrTextObj::impDecomposeBlockTextPrimitive( Color aOriginalBackColor(rOutliner.GetBackgroundColor()); setSuitableOutlinerBg(rOutliner); - // add one to rage sizes to get back to the old Rectangle and outliner measurements + // add one to range sizes to get back to the old Rectangle and outliner measurements const sal_uInt32 nAnchorTextWidth(FRound(aAnchorTextRange.getWidth() + 1)); const sal_uInt32 nAnchorTextHeight(FRound(aAnchorTextRange.getHeight() + 1)); const bool bVerticalWriting(rSdrBlockTextPrimitive.getOutlinerParaObject().IsEffectivelyVertical()); @@ -1557,7 +1557,7 @@ void SdrTextObj::impDecomposeChainedTextPrimitive( rOutliner.SetMinAutoPaperSize(aNullSize); rOutliner.SetMaxAutoPaperSize(Size(1000000,1000000)); - // add one to rage sizes to get back to the old Rectangle and outliner measurements + // add one to range sizes to get back to the old Rectangle and outliner measurements const sal_uInt32 nAnchorTextWidth(FRound(aAnchorTextRange.getWidth() + 1)); const sal_uInt32 nAnchorTextHeight(FRound(aAnchorTextRange.getHeight() + 1));