diff options
-rw-r--r-- | editeng/source/editeng/editview.cxx | 8 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 6 | ||||
-rw-r--r-- | include/editeng/editview.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 22 |
5 files changed, 22 insertions, 22 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; } }; diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index 86c88f5824b7..0692a17696db 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -336,8 +336,8 @@ public: tools::Rectangle GetLOKSpecialVisArea() const; bool HasLOKSpecialPositioning() const; - void SupressLOKMessages(bool bSet); - bool IsSupressLOKMessages() const; + void SuppressLOKMessages(bool bSet); + bool IsSuppressLOKMessages() const; }; #endif // INCLUDED_EDITENG_EDITVIEW_HXX diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 1ebdf95b60c5..8bb068e62159 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -578,26 +578,26 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod namespace { -class SupressEditViewMessagesGuard +class SuppressEditViewMessagesGuard { public: - SupressEditViewMessagesGuard(EditView& rEditView) : + SuppressEditViewMessagesGuard(EditView& rEditView) : mrEditView(rEditView), - mbOrigSupressFlag(rEditView.IsSupressLOKMessages()) + mbOrigSuppressFlag(rEditView.IsSuppressLOKMessages()) { - if (!mbOrigSupressFlag) - mrEditView.SupressLOKMessages(true); + if (!mbOrigSuppressFlag) + mrEditView.SuppressLOKMessages(true); } - ~SupressEditViewMessagesGuard() + ~SuppressEditViewMessagesGuard() { - if (mrEditView.IsSupressLOKMessages() != mbOrigSupressFlag) - mrEditView.SupressLOKMessages(mbOrigSupressFlag); + if (mrEditView.IsSuppressLOKMessages() != mbOrigSuppressFlag) + mrEditView.SuppressLOKMessages(mbOrigSuppressFlag); } private: EditView& mrEditView; - const bool mbOrigSupressFlag; + const bool mbOrigSuppressFlag; }; } @@ -1053,7 +1053,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI // Avoid sending wrong cursor/selection messages by the 'other' view, as the output-area is going // to be tweaked temporarily to match the current view's zoom. - SupressEditViewMessagesGuard aGuard(*pOtherEditView); + SuppressEditViewMessagesGuard aGuard(*pOtherEditView); pOtherEditView->SetOutputArea(rDevice.PixelToLogic(aEditRect)); pOtherEditView->Paint(rDevice.PixelToLogic(aEditRect), &rDevice); @@ -1157,7 +1157,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI // Avoid sending wrong cursor/selection messages by the current view, as the output-area is going // to be tweaked temporarily to match other view's zoom. (This does not affect the manual // cursor-messaging done in the non print-twips mode) - SupressEditViewMessagesGuard aGuard(*pEditView); + SuppressEditViewMessagesGuard aGuard(*pEditView); pEditView->SetOutputArea(rDevice.PixelToLogic(aEditRect)); pEditView->Paint(rDevice.PixelToLogic(aEditRect), &rDevice); |