diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-04-06 14:45:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-04-06 21:28:03 +0200 |
commit | 84a4da19ae0f5e092a0deb7007a34d2ee78d5da7 (patch) | |
tree | cddce0f7c446ff6713bed64fa1d5b302f259398c /sd | |
parent | 8bdf557876a65ab6d7860874ee2c7fd4ca3cc52b (diff) |
ExecuteSpellPopup never called with a null spelling callback
Change-Id: Id03001541ccfd8503a7b8181598bad9811542b4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113694
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews4.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx index 39f428bb8658..2fd177135ecf 100644 --- a/sd/source/ui/view/drviews4.cxx +++ b/sd/source/ui/view/drviews4.cxx @@ -640,7 +640,7 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin) // first release the mouse. GetActiveWindow()->ReleaseMouse(); LockInput(); - pOutlinerView->ExecuteSpellPopup(aPos, &aLink); + pOutlinerView->ExecuteSpellPopup(aPos, aLink); pOutlinerView->GetEditView().Invalidate(); UnlockInput(); } diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index f106b943a8b1..b18a0460b4e9 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -1356,7 +1356,7 @@ void OutlineViewShell::Command( const CommandEvent& rCEvt, ::sd::Window* pWin ) // Popup for Online-Spelling now handled by DrawDocShell Link<SpellCallbackInfo&,void> aLink = LINK(GetDocSh(), DrawDocShell, OnlineSpellCallback); - pOLV->ExecuteSpellPopup(aPos, &aLink); + pOLV->ExecuteSpellPopup(aPos, aLink); pOLV->GetEditView().Invalidate(); } else |