summaryrefslogtreecommitdiff
path: root/sfx2/source/view
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-10-22 23:28:29 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-23 11:37:14 +0200
commitb187189318a3d49dfa049490d214faf92dce9d86 (patch)
tree03000e9f042dd6fb1544963ae5bc8e82a96a33b3 /sfx2/source/view
parent4739593c39158fffd745ca6af43d41017c9cbe39 (diff)
Fix typos
Change-Id: Iaba882b1bd000a068cfaa207c743be038d5db434 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124087 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sfx2/source/view')
-rw-r--r--sfx2/source/view/lokhelper.cxx4
-rw-r--r--sfx2/source/view/viewsh.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index 8210fd7faf35..35b61798c272 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -739,13 +739,13 @@ void SfxLokHelper::postKeyEventAsync(const VclPtr<vcl::Window> &xWindow,
postEventAsync(pLOKEv);
}
-void SfxLokHelper::setBlockedCommandList(int nViewId, const char* bolckedCommandList)
+void SfxLokHelper::setBlockedCommandList(int nViewId, const char* blockedCommandList)
{
SfxViewShell* pViewShell = SfxLokHelper::getViewOfId(nViewId);
if(pViewShell)
{
- pViewShell->setBlockedCommandList(bolckedCommandList);
+ pViewShell->setBlockedCommandList(blockedCommandList);
}
}
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index ab03a4cc35f4..5766fb48205c 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -2076,17 +2076,17 @@ weld::Window* SfxViewShell::GetFrameWeld() const
return pWindow ? pWindow->GetFrameWeld() : nullptr;
}
-void SfxViewShell::setBlockedCommandList(const char* bolckedCommandList)
+void SfxViewShell::setBlockedCommandList(const char* blockedCommandList)
{
if(!mvLOKBlockedCommandList.empty())
return;
- OUString BolckedListString(bolckedCommandList, strlen(bolckedCommandList), RTL_TEXTENCODING_UTF8);
- OUString command = BolckedListString.getToken(0, ' ');
+ OUString BlockedListString(blockedCommandList, strlen(blockedCommandList), RTL_TEXTENCODING_UTF8);
+ OUString command = BlockedListString.getToken(0, ' ');
for (size_t i = 1; !command.isEmpty(); i++)
{
mvLOKBlockedCommandList.emplace(command);
- command = BolckedListString.getToken(i, ' ');
+ command = BlockedListString.getToken(i, ' ');
}
}