diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-10 16:11:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-11 09:53:32 +0200 |
commit | e6c4674418cd7423943599f3bd3cdf1643284690 (patch) | |
tree | e19e118da69c23d0d9ef450f42e76f845dbb9312 /sw/source/uibase/wrtsh | |
parent | e44efeea57c1925069b4c772adccd9b19b77cebb (diff) |
SwCursorShell argument of AttrChangedNotify is unused
Change-Id: I1fde665dcb77d29cad7f6a5c12e82c1822cff022
Reviewed-on: https://gerrit.libreoffice.org/80621
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r-- | sw/source/uibase/wrtsh/select.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh1.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh3.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx index 348876e7ffad..ae439faeee2a 100644 --- a/sw/source/uibase/wrtsh/select.cxx +++ b/sw/source/uibase/wrtsh/select.cxx @@ -358,7 +358,7 @@ long SwWrtShell::ResetSelect(const Point *,bool) // After canceling of all selections an update of Attr-Controls // could be necessary. - GetChgLnk().Call(this); + GetChgLnk().Call(nullptr); } Invalidate(); SwTransferable::ClearSelection( *this ); diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index 6d6f9cfdbd8c..36878840658e 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -1953,7 +1953,7 @@ void SwWrtShell::InsertPostIt(SwFieldMgr& rFieldMgr, const SfxRequest& rReq) // A frame is selected, end frame selection. EnterStdMode(); - GetView().AttrChangedNotify(this); + GetView().AttrChangedNotify(nullptr); // Set up text selection, so the anchor of the frame will be the anchor of the // comment. diff --git a/sw/source/uibase/wrtsh/wrtsh3.cxx b/sw/source/uibase/wrtsh/wrtsh3.cxx index 7d58670cffe1..0a71baae0909 100644 --- a/sw/source/uibase/wrtsh/wrtsh3.cxx +++ b/sw/source/uibase/wrtsh/wrtsh3.cxx @@ -123,7 +123,7 @@ void SwWrtShell::DrawSelChanged( ) bool bOldVal = g_bNoInterrupt; g_bNoInterrupt = true; // Trick to run AttrChangedNotify by timer. - GetView().AttrChangedNotify(this); + GetView().AttrChangedNotify(nullptr); g_bNoInterrupt = bOldVal; } |