summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textsh2.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-02-16 15:45:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-02-17 08:49:11 +0000
commit7183d259d0d8bf8020da1aa06c963581d2bf779f (patch)
treeeb585467413710892a505cb37fc0aecc50e4f8ab /sw/source/uibase/shells/textsh2.cxx
parenteefa8e8110c432be36e1cd5d166b5f5676a7e5ca (diff)
SfxViewFrame* arg of SfxRequest ctor always dereferenced
change it to take a reference Change-Id: Ib9349f4c2660d297d93ee81256e7fa9873728ba3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147163 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/shells/textsh2.cxx')
-rw-r--r--sw/source/uibase/shells/textsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textsh2.cxx b/sw/source/uibase/shells/textsh2.cxx
index 9d7e2bd81e48..8f05aef76788 100644
--- a/sw/source/uibase/shells/textsh2.cxx
+++ b/sw/source/uibase/shells/textsh2.cxx
@@ -186,7 +186,7 @@ void SwTextShell::ExecDB(SfxRequest const &rReq)
rViewFrame.GetBindings().GetRecorder();
if ( xRecorder.is() )
{
- SfxRequest aReq( &rViewFrame, FN_INSERT_DBFIELD );
+ SfxRequest aReq(rViewFrame, FN_INSERT_DBFIELD);
aReq.AppendItem( SfxUInt16Item(FN_PARAM_FIELD_TYPE, static_cast<sal_uInt16>(SwFieldTypesEnum::Database)));
aReq.AppendItem( SfxStringItem( FN_INSERT_DBFIELD, sDBName ));
aReq.AppendItem( SfxStringItem( FN_PARAM_1, sCommandArg ));