summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/applab.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-10 16:11:14 +0100
committerAndras Timar <andras.timar@collabora.com>2020-03-03 14:31:48 +0100
commit147849c328e7fcef65b5e4ea17a473d2bab3bdb1 (patch)
treedab4949155cf1736837f2bd1e874f5f5d84f5562 /sw/source/uibase/app/applab.cxx
parent3fe9dfca2d44d9e41ee329883f199359c673f382 (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> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89883 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sw/source/uibase/app/applab.cxx')
-rw-r--r--sw/source/uibase/app/applab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/applab.cxx b/sw/source/uibase/app/applab.cxx
index 9cc87905358b..07614ae74202 100644
--- a/sw/source/uibase/app/applab.cxx
+++ b/sw/source/uibase/app/applab.cxx
@@ -199,7 +199,7 @@ void SwModule::InsertLab(SfxRequest& rReq, bool bLabel)
SfxViewFrame* pViewFrame = SfxViewFrame::DisplayNewDocument( *xDocSh, rReq );
SwView *pNewView = static_cast<SwView*>( pViewFrame->GetViewShell());
- pNewView->AttrChangedNotify( &pNewView->GetWrtShell() );// So that SelectShell is being called.
+ pNewView->AttrChangedNotify(nullptr);// So that SelectShell is being called.
// Set document title
OUString aTmp;