diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-07-07 23:14:30 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-07-08 05:48:18 +0000 |
commit | 799cc41b53a59c543408fa5370e107c2c57a2904 (patch) | |
tree | 790ed9324cea1b9a2f54955a0497cab55c617128 /editeng | |
parent | ff669d1c7f692052534d1136d1ff4220433f8542 (diff) |
Fix typos
Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0
Reviewed-on: https://gerrit.libreoffice.org/16834
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 2331196d67eb..f473c8a14f0c 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -1941,7 +1941,7 @@ void ImpEditView::dragOver(const ::com::sun::star::datatransfer::dnd::DropTarget { long nScrollX = 0; long nScrollY = 0; - // Chech if in the sensitive area + // Check if in the sensitive area if ( ( (aMousePos.X()-pDragAndDropInfo->nSensibleRange) < GetOutputArea().Left() ) && ( ( aMousePos.X() + pDragAndDropInfo->nSensibleRange ) > GetOutputArea().Left() ) ) nScrollX = GetOutputArea().GetWidth() / SCRLRANGE; else if ( ( (aMousePos.X()+pDragAndDropInfo->nSensibleRange) > GetOutputArea().Right() ) && ( ( aMousePos.X() - pDragAndDropInfo->nSensibleRange ) < GetOutputArea().Right() ) ) diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 8795dc0ec3c6..574c12abfd8e 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -1525,7 +1525,7 @@ EditSelection ImpEditEngine::SelectWord( const EditSelection& rCurSel, sal_Int16 i18n::Boundary aBoundary = _xBI->getWordBoundary( aPaM.GetNode()->GetString(), aPaM.GetIndex(), aLocale, nWordType, true); - // don't select when curser at end of word + // don't select when cursor at end of word if ( ( aBoundary.endPos > aPaM.GetIndex() ) && ( ( aBoundary.startPos < aPaM.GetIndex() ) || ( bAcceptStartOfWord && ( aBoundary.startPos == aPaM.GetIndex() ) ) ) ) { |