From e154e3652e8292fce066f0f942620c859a5e3991 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 2 Aug 2019 08:43:12 +0200 Subject: Fix typos Change-Id: I3d1dd03022eb37609ee0dd62c4ee9cec93ac0717 Reviewed-on: https://gerrit.libreoffice.org/76813 Tested-by: Jenkins Reviewed-by: Andrea Gelmini --- sw/source/uibase/docvw/PostItMgr.cxx | 2 +- sw/source/uibase/docvw/edtwin.cxx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sw/source/uibase/docvw') 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) diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index e37b3aabe040..51a26c8447a4 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -324,7 +324,7 @@ static bool IsMinMove(const Point &rStartPos, const Point &rLPt) /** * For MouseButtonDown - determine whether a DrawObject - * an NO SwgFrame was hit! Shift/Ctrl should only result + * a NO SwgFrame was hit! Shift/Ctrl should only result * in selecting, with DrawObjects; at SwgFlys to trigger * hyperlinks if applicable (Download/NewWindow!) */ @@ -2657,7 +2657,7 @@ KEYINPUT_CHECKTABLE_INSDEL: // in case the buffered characters are inserted if( bFlushBuffer && !m_aInBuffer.isEmpty() ) { - // bFlushCharBuffer was not resetted here + // bFlushCharBuffer was not reset here // why not? bool bSave = g_bFlushCharBuffer; FlushInBuffer(); @@ -4194,7 +4194,7 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt) m_aSaveCallEvent.Set( EVENT_OBJECT_URLITEM, pFormat ); } - // should be over a InternetField with an + // should be over an InternetField with an // embedded macro? if( m_aSaveCallEvent != aLastCallEvent ) { @@ -4891,7 +4891,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt) } ReleaseMouse(); // Only processed MouseEvents arrive here; only at these this mode can - // be resetted. + // be reset. m_bMBPressed = false; // Make this call just to be sure. Selecting has finished surely by now. @@ -5033,7 +5033,7 @@ SwEditWin::SwEditWin(vcl::Window *pParent, SwView &rMyView): m_aKeyInputFlushTimer.SetTimeout( 200 ); m_aKeyInputFlushTimer.SetInvokeHandler(LINK(this, SwEditWin, KeyInputFlushHandler)); - // TemplatePointer for colors should be resetted without + // TemplatePointer for colors should be reset without // selection after single click, but not after double-click (tdf#122442) m_aTemplateTimer.SetTimeout(GetSettings().GetMouseSettings().GetDoubleClickTime()); m_aTemplateTimer.SetInvokeHandler(LINK(this, SwEditWin, TemplateTimerHdl)); -- cgit v1.2.3