From 2529230d9887b6143385c5500853b7c4594db2cf Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 24 Dec 2020 16:04:45 +0100 Subject: Fix typos Change-Id: Ic283206b318e4367e5d88475bdc2abac48e79f62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108271 Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- sw/source/core/edit/ednumber.cxx | 2 +- sw/source/uibase/app/appopt.cxx | 2 +- sw/source/uibase/docvw/FrameControlsManager.cxx | 2 +- sw/source/uibase/utlui/content.cxx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx index b806edc599e9..a0298ad5ad65 100644 --- a/sw/source/core/edit/ednumber.cxx +++ b/sw/source/core/edit/ednumber.cxx @@ -438,7 +438,7 @@ public: bool SwEditShell::MoveParagraph( tools::Long nOffset ) { - // make all outline nodes content temporarily visibile for paragraph move + // make all outline nodes content temporarily visible for paragraph move MakeAllOutlineContentTemporarilyVisibile a(dynamic_cast(this)); StartAllAction(); diff --git a/sw/source/uibase/app/appopt.cxx b/sw/source/uibase/app/appopt.cxx index 1d813793cff6..1ab2a7823092 100644 --- a/sw/source/uibase/app/appopt.cxx +++ b/sw/source/uibase/app/appopt.cxx @@ -439,7 +439,7 @@ void SwModule::ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ) { // outline mode remained active // sub level treatment might have changed - // ToggleOutlineContentVisiblity only knows sub level treatment after ApplyUserPref + // ToggleOutlineContentVisibility only knows sub level treatment after ApplyUserPref for (SwNode* pNd : aFoldedOutlineNdsArray) GetActiveWrtShell()->ToggleOutlineContentVisibility(pNd, true); } diff --git a/sw/source/uibase/docvw/FrameControlsManager.cxx b/sw/source/uibase/docvw/FrameControlsManager.cxx index 886021ee89f8..61bd5ca4badf 100644 --- a/sw/source/uibase/docvw/FrameControlsManager.cxx +++ b/sw/source/uibase/docvw/FrameControlsManager.cxx @@ -284,7 +284,7 @@ void SwFrameControlsManager::SetOutlineContentVisibilityButton(const SwTextNode* { SwNodeIndex aIdx(*pTextNd, +1); // there shouldn't be a layout frame - // if there is then force visiblity false + // if there is then force visibility false if (!m_pEditWin->GetView().GetWrtShell().GetViewOptions()->IsTreatSubOutlineLevelsAsContent()) { if (!(aIdx.GetNode().IsEndNode() || diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 378a6675e861..ec33b083d487 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -2867,7 +2867,7 @@ void SwContentTree::ExecCommand(std::string_view rCmd, bool bOutlineWithChildren if (pShell->GetViewOptions()->IsShowOutlineContentVisibilityButton()) { // make all outline nodes content visible before move - // restore outline nodes content visibile state after move + // restore outline nodes content visible state after move SwOutlineNodes rOutlineNds = pShell->GetDoc()->GetNodes().GetOutLineNds(); for (SwOutlineNodes::size_type nPos = 0; nPos < rOutlineNds.size(); ++nPos) { @@ -3403,7 +3403,7 @@ void SwContentTree::MoveOutline(SwOutlineNodes::size_type nTargetPos) if (pShell->GetViewOptions()->IsShowOutlineContentVisibilityButton()) { // make all outline nodes content visible before move - // restore outline nodes content visibile state after move + // restore outline nodes content visible state after move SwOutlineNodes rOutlineNds = pShell->GetDoc()->GetNodes().GetOutLineNds(); for (SwOutlineNodes::size_type nPos = 0; nPos < rOutlineNds.size(); ++nPos) { -- cgit v1.2.1