diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-10-05 19:40:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-10-05 21:27:57 +0200 |
commit | 7097d951e56ef241f4535514280c76ceb7f08d1e (patch) | |
tree | 50875cc2e004e31d091a3a2fac62f8c82880812a | |
parent | d23b1d0240e8ca4a33fbd4fcd368c4ece7b8866a (diff) |
I suspect the sizes are not enraged
Change-Id: I2e03b49d3eb9e4123ecd75783d7b585ef9faab3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140993
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
-rw-r--r-- | svx/source/svdraw/svdotextdecomposition.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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)); |