summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-23 09:58:19 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 09:56:28 -0500
commit02b9e7b5432d371e8dd39bfafa844dcf3c59342d (patch)
treec02b2fcfefbbaa14cf14deb34845575f533227d9 /sw
parentdb98b04bcbf060bf8a6869a2bb60f400901eb1a0 (diff)
Fix typos
Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit 69c88a32aad2cafde197e98557868ad069795d60)
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/view.hxx2
-rw-r--r--sw/source/core/crsr/crsrsh.cxx2
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
-rw-r--r--sw/source/ui/vba/vbainformationhelper.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index 40a9630afedd..c5adfdff1ea6 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -181,7 +181,7 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
sal_uInt16 m_nOldPageNum;
OUString m_sOldSectionName;
- Point m_aTabColFromDocPos; // moving table colmns out of the document
+ Point m_aTabColFromDocPos; // moving table columns out of the document
SwTextNode * m_pNumRuleNodeFromDoc; // Moving indent of numrule #i23726#
Size m_aDocSz; // current document size
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index 91646dcf96e6..17ca93aee2c9 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -1730,7 +1730,7 @@ void SwCrsrShell::UpdateCrsr( sal_uInt16 eFlags, bool bIdleEnd )
bChgState = false;
else
{
- m_eMvState = MV_NONE; // state for crusor travelling
+ m_eMvState = MV_NONE; // state for cursor travelling
m_bAllProtect = true;
if( GetDoc()->GetDocShell() )
{
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 297b17b8c7d1..1aa7a165bbcc 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -527,7 +527,7 @@ void DocxAttributeOutput::EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pT
--m_nTextFrameLevel;
- /* If m_nHyperLinkCount > 0 that means hyperlink tag is not yet colsed.
+ /* If m_nHyperLinkCount > 0 that means hyperlink tag is not yet closed.
* This is due to nested hyperlink tags. So close it before end of paragraph.
*/
if(m_nHyperLinkCount > 0)
diff --git a/sw/source/ui/vba/vbainformationhelper.cxx b/sw/source/ui/vba/vbainformationhelper.cxx
index 609e4732e962..55128004edcd 100644
--- a/sw/source/ui/vba/vbainformationhelper.cxx
+++ b/sw/source/ui/vba/vbainformationhelper.cxx
@@ -56,7 +56,7 @@ double SwVbaInformationHelper::handleWdVerticalPositionRelativeToPage( const css
SwViewShell* pViewSh = pDoc->getIDocumentLayoutAccess().GetCurrentViewShell();
sal_Int32 nPageHeight = pViewSh ? pViewSh->GetPageSize( nCurrentPage, false ).Height() : 0;
// FIXME: handle multipul page style
- // it is very strange that the curros position is incorrect when open Word file.
+ // it is very strange that the cursor position is incorrect when open Word file.
// e.g. if current cursor in the top left of the text body of the first page without header,
// the top value of current position should be 0, but is 201 when open a Word file.
nCurrentPos = nCurrentPos + nTopMargin - ( DEFAULT_PAGE_DISTANCE + convertTwipToMm100( nPageHeight ) ) * ( nCurrentPage - 1 );