diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-05-15 11:38:37 +0200 |
---|---|---|
committer | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-05-17 16:07:53 +0200 |
commit | 817b438ef587d79350963738619d8669dffbccd7 (patch) | |
tree | d07b398c6f0b5f5d9e260c42db858ee7e0bc5bdb /sw | |
parent | c781776f3c79bbe3175b1452d26c79ebb931a500 (diff) |
Fix typos
Change-Id: I4be77bf074f93fc978e34e5ba4c4693896e4c467
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115645
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/swcrsr.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/basesh.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh1.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx index 69388177ab28..847a019cf1b9 100644 --- a/sw/source/core/crsr/swcrsr.cxx +++ b/sw/source/core/crsr/swcrsr.cxx @@ -1808,7 +1808,7 @@ bool SwCursor::LeftRight( bool bLeft, sal_uInt16 nCnt, sal_uInt16 nMode, // the document. When the cursor is at the end of the visible document and // right arrow key is pressed Move fails after moving the cursor to the // end of the document model, which doesn't have a node frame and causes - // wierd numbers to be displayed in the statusbar page number count. Left + // weird numbers to be displayed in the statusbar page number count. Left // arrow, when in this state, causes a crash without RestoredSavePos() added here. RestoreSavePos(); break; diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index 5942e7cc7340..b8e2cf281c67 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -202,7 +202,7 @@ void SwBaseShell::ExecDelete(SfxRequest &rReq) if (rSh.IsEndPara()) { SwNodeIndex aIdx(rSh.GetCursor()->GetNode()); - // disallow if this is am outline node having folded content + // disallow if this is an outline node having folded content bool bVisible = true; aIdx.GetNode().GetTextNode()->GetAttrOutlineContentVisible(bVisible); if (!bVisible) diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index 98e41e16299e..19b5945ccc5a 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -130,7 +130,7 @@ static bool lcl_IsAllowed(const SwWrtShell* rSh) SwTextNode* pTextNode = rSh->GetCursor()->GetNode().GetTextNode(); if (pTextNode && pTextNode->IsOutline()) { - // disallow if this is am outline node having folded content + // disallow if this is an outline node having folded content bool bVisible = true; pTextNode->GetAttrOutlineContentVisible(bVisible); if (!bVisible) @@ -2224,7 +2224,7 @@ void SwWrtShell::MakeAllFoldedOutlineContentVisible(bool bMakeVisible) // HideControls function. GetView().GetEditWin().GetFrameControlsManager().HideControls(FrameControlType::Outline); - // temporarily set outline content visibile attribute true for folded outline nodes + // temporarily set outline content visible attribute true for folded outline nodes std::vector<SwNode*> aFoldedOutlineNodeArray; for (SwNode* pNd: GetNodes().GetOutLineNds()) { |