[Libreoffice-commits] core.git: sw/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 24 17:01:05 UTC 2020
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(-)
New commits:
commit 2529230d9887b6143385c5500853b7c4594db2cf
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Dec 24 16:04:45 2020 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Dec 24 18:00:19 2020 +0100
Fix typos
Change-Id: Ic283206b318e4367e5d88475bdc2abac48e79f62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108271
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
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<SwWrtShell*>(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)
{
More information about the Libreoffice-commits
mailing list