summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.h2
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.hxx4
-rw-r--r--include/comphelper/lok.hxx2
-rw-r--r--include/sfx2/lokhelper.hxx2
-rw-r--r--include/sfx2/viewsh.hxx2
5 files changed, 6 insertions, 6 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h
index 29ffeff44bbb..75b10017b6f6 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.h
+++ b/include/LibreOfficeKit/LibreOfficeKit.h
@@ -461,7 +461,7 @@ struct _LibreOfficeKitDocumentClass
/// @see lok::Document::setBlockedCommandList
void (*setBlockedCommandList) (LibreOfficeKitDocument* pThis,
int nViewId,
- const char* bolckedCommandList);
+ const char* blockedCommandList);
/// @see lok::Document::renderSearchResult
bool (*renderSearchResult) (LibreOfficeKitDocument* pThis,
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx
index bde89ec4240c..064caae2729b 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.hxx
+++ b/include/LibreOfficeKit/LibreOfficeKit.hxx
@@ -787,9 +787,9 @@ public:
mpDoc->pClass->sendFormFieldEvent(mpDoc, pArguments);
}
- void setBlockedCommandList(int nViewId, const char* bolckedCommandList)
+ void setBlockedCommandList(int nViewId, const char* blockedCommandList)
{
- mpDoc->pClass->setBlockedCommandList(mpDoc, nViewId, bolckedCommandList);
+ mpDoc->pClass->setBlockedCommandList(mpDoc, nViewId, blockedCommandList);
}
/**
* Render input search result to a bitmap buffer.
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx
index 54d461dc8cbc..66784e8e4892 100644
--- a/include/comphelper/lok.hxx
+++ b/include/comphelper/lok.hxx
@@ -109,7 +109,7 @@ COMPHELPER_DLLPUBLIC void statusIndicatorStart(const OUString& sText);
COMPHELPER_DLLPUBLIC void statusIndicatorSetValue(int percent);
COMPHELPER_DLLPUBLIC void statusIndicatorFinish();
-COMPHELPER_DLLPUBLIC void setBlockedCommandList(const char* bolckedCommandList);
+COMPHELPER_DLLPUBLIC void setBlockedCommandList(const char* blockedCommandList);
}
#endif // INCLUDED_COMPHELPER_LOK_HXX
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx
index 9de82ce9049c..cf2c1c9c72bb 100644
--- a/include/sfx2/lokhelper.hxx
+++ b/include/sfx2/lokhelper.hxx
@@ -64,7 +64,7 @@ public:
/// Get viewIds of views of the current DocId.
static bool getViewIds(int nDocId, int* pArray, size_t nSize);
/// Set View Blocked for some uno commands
- static void setBlockedCommandList(int nViewId, const char* bolckedCommandList);
+ static void setBlockedCommandList(int nViewId, const char* blockedCommandList);
/// Get the document id for a view
static int getDocumentIdOfView(int nViewId);
/// Get the default language that should be used for views
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index 4dd1783fabe9..89c9cd6c0c7c 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -395,7 +395,7 @@ public:
virtual tools::Rectangle getLOKVisibleArea() const { return tools::Rectangle(); }
// Blocked Command view settings
- void setBlockedCommandList(const char* bolckedCommandList);
+ void setBlockedCommandList(const char* blockedCommandList);
bool isBlockedCommand(OUString command);
};