diff options
Diffstat (limited to 'sw/source/uibase/docvw')
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 10 |
2 files changed, 6 insertions, 6 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) 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)); |