summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-28 13:01:09 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-31 10:15:56 +0200
commit7c32479b596156a7422a7b96f2548b8a4ea73185 (patch)
treefc654478e2eb99633864d2913e307529b378bb5c /editeng
parentFix typo in code (diff)
downloadcore-7c32479b596156a7422a7b96f2548b8a4ea73185.tar.gz
core-7c32479b596156a7422a7b96f2548b8a4ea73185.zip
Fix typo in code
It passed "make check" on Linux Change-Id: I7596db11cae77c2dcadd740c44cc72fd5dbceb9b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101619 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editview.cxx8
-rw-r--r--editeng/source/editeng/impedit.cxx4
-rw-r--r--editeng/source/editeng/impedit.hxx6
3 files changed, 9 insertions, 9 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index fda93027044c..0bf2de883d46 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -1602,14 +1602,14 @@ bool EditView::HasLOKSpecialPositioning() const
return pImpEditView->HasLOKSpecialPositioning();
}
-void EditView::SupressLOKMessages(bool bSet)
+void EditView::SuppressLOKMessages(bool bSet)
{
- pImpEditView->SupressLOKMessages(bSet);
+ pImpEditView->SuppressLOKMessages(bSet);
}
-bool EditView::IsSupressLOKMessages() const
+bool EditView::IsSuppressLOKMessages() const
{
- return pImpEditView->IsSupressLOKMessages();
+ return pImpEditView->IsSuppressLOKMessages();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 666426c8485b..d90aa81be0c4 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -196,7 +196,7 @@ ImpEditView::ImpEditView( EditView* pView, EditEngine* pEng, vcl::Window* pWindo
eAnchorMode(EEAnchorMode::TopLeft),
mpEditViewCallbacks(nullptr),
mbBroadcastLOKViewCursor(comphelper::LibreOfficeKit::isActive()),
- mbSupressLOKMessages(false)
+ mbSuppressLOKMessages(false)
{
aEditSelection.Min() = pEng->GetEditDoc().GetStartPaM();
aEditSelection.Max() = pEng->GetEditDoc().GetEndPaM();
@@ -1298,7 +1298,7 @@ void ImpEditView::ShowCursor( bool bGotoCursor, bool bForceVisCursor )
GetCursor()->SetSize( aCursorSz );
- if (comphelper::LibreOfficeKit::isActive() && mpViewShell && !mbSupressLOKMessages)
+ if (comphelper::LibreOfficeKit::isActive() && mpViewShell && !mbSuppressLOKMessages)
{
Point aPos = GetCursor()->GetPos();
boost::property_tree::ptree aMessageParams;
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index e1e54664f815..77d8059fdcdb 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -299,7 +299,7 @@ private:
const EditViewCallbacks* mpEditViewCallbacks;
std::unique_ptr<LOKSpecialPositioning> mpLOKSpecialPositioning;
bool mbBroadcastLOKViewCursor:1;
- bool mbSupressLOKMessages:1;
+ bool mbSuppressLOKMessages:1;
const EditViewCallbacks* getEditViewCallbacks() const
{
@@ -460,8 +460,8 @@ public:
tools::Rectangle GetLOKSpecialVisArea() const;
bool HasLOKSpecialPositioning() const;
- void SupressLOKMessages(bool bSet) { mbSupressLOKMessages = bSet; }
- bool IsSupressLOKMessages() const { return mbSupressLOKMessages; }
+ void SuppressLOKMessages(bool bSet) { mbSuppressLOKMessages = bSet; }
+ bool IsSuppressLOKMessages() const { return mbSuppressLOKMessages; }
};