summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/edit/ednumber.cxx2
-rw-r--r--sw/source/uibase/app/appopt.cxx2
-rw-r--r--sw/source/uibase/docvw/FrameControlsManager.cxx2
-rw-r--r--sw/source/uibase/utlui/content.cxx4
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<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)
{