summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/PostItMgr.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-02 08:43:12 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-02 11:00:40 +0200
commite154e3652e8292fce066f0f942620c859a5e3991 (patch)
tree5562b2e1352b3c8bb0b244358d84ae54f25f6f65 /sw/source/uibase/docvw/PostItMgr.cxx
parent2550b380e8f81528aa2dde5790c3b607c068ee1a (diff)
Fix typos
Change-Id: I3d1dd03022eb37609ee0dd62c4ee9cec93ac0717 Reviewed-on: https://gerrit.libreoffice.org/76813 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'sw/source/uibase/docvw/PostItMgr.cxx')
-rw-r--r--sw/source/uibase/docvw/PostItMgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx
index 3866231bcb0c..3e7f48844fae 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -792,7 +792,7 @@ void SwPostItMgr::LayoutPostIts()
}
else if (sal_Int32 nScrollSize = GetScrollSize())
{
- //when we changed our zoom level, the offset value can be to big, so lets check for the largest possible zoom value
+ //when we changed our zoom level, the offset value can be too big, so lets check for the largest possible zoom value
long aAvailableHeight = mpEditWin->LogicToPixel(Size(0,pPage->mPageRect.Height())).Height() - 2 * GetSidebarScrollerHeight();
long lOffset = -1 * nScrollSize * (aVisiblePostItList.size() - aAvailableHeight / nScrollSize);
if (pPage->lOffset < lOffset)