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 /include | |
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 'include')
-rw-r--r-- | include/editeng/editview.hxx | 2 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index 6e06cdd77a97..97b7bb2df3c5 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -298,7 +298,7 @@ public: bool IsCursorAtWrongSpelledWord(); bool IsWrongSpelledWordAtPos( const Point& rPosPixel, bool bMarkIfWrong = false ); - void ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallbackInfo&,void> const * pCallBack ); + void ExecuteSpellPopup(const Point& rPosPixel, const Link<SpellCallbackInfo&,void>& rCallBack); OUString SpellIgnoreWord(); void InsertField( const SvxFieldItem& rFld ); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 55d48fbd7d26..cf92acfbf283 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -347,7 +347,7 @@ public: bool IsCursorAtWrongSpelledWord(); bool IsWrongSpelledWordAtPos( const Point& rPosPixel ); - void ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallbackInfo&,void> const * pCallBack ); + void ExecuteSpellPopup(const Point& rPosPixel, const Link<SpellCallbackInfo&,void>& rCallBack); void SetInvalidateMore( sal_uInt16 nPixel ); sal_uInt16 GetInvalidateMore() const; |