summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/fly.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-18 17:32:25 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-18 17:33:05 +0200
commitc547ebfd6599a0d178099c5c1fa69b962d41e43e (patch)
tree222793cf2ce20970c9b83a225b51bd908ebccc6f /sw/source/core/layout/fly.cxx
parent9b5558d9ec7359667e2fb773dc45795c02cc18a9 (diff)
Fix typo
Change-Id: I314e7bf6ea4a52929e9bac54b6c390105cf4a117 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103011 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/core/layout/fly.cxx')
-rw-r--r--sw/source/core/layout/fly.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 5da3f7ec7f94..29059f02bc2f 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -2559,7 +2559,7 @@ static SwTwips lcl_CalcAutoWidth( const SwLayoutFrame& rFrame )
}
// tdf#124423 In Microsoft compatibility mode: widen the frame to max (PrintArea of the frame it anchored to) if it contains at least 2 paragraphs,
- // or 1 paragraph wider then its parent area.
+ // or 1 paragraph wider than its parent area.
if (rFrame.GetFormat()->getIDocumentSettingAccess().get(DocumentSettingId::FRAME_AUTOWIDTH_WITH_MORE_PARA))
{
const SwFrame* pFrameRect = rFrame.IsFlyFrame() ? static_cast<const SwFlyFrame*>(&rFrame)->GetAnchorFrame() : rFrame.Lower()->FindPageFrame();