summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-05-15 11:38:37 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2021-05-17 16:07:53 +0200
commit817b438ef587d79350963738619d8669dffbccd7 (patch)
treed07b398c6f0b5f5d9e260c42db858ee7e0bc5bdb /sw/source/uibase/wrtsh
parentc781776f3c79bbe3175b1452d26c79ebb931a500 (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/source/uibase/wrtsh')
-rw-r--r--sw/source/uibase/wrtsh/wrtsh1.cxx4
1 files changed, 2 insertions, 2 deletions
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())
{