From 7183d259d0d8bf8020da1aa06c963581d2bf779f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 16 Feb 2023 15:45:59 +0000 Subject: SfxViewFrame* arg of SfxRequest ctor always dereferenced MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/sfx2/request.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx index 966974498065..908f98b55379 100644 --- a/include/sfx2/request.hxx +++ b/include/sfx2/request.hxx @@ -56,7 +56,7 @@ private: SAL_DLLPRIVATE void Done_Impl( const SfxItemSet *pSet ); public: - SfxRequest( SfxViewFrame*, sal_uInt16 nSlotId ); + SfxRequest( SfxViewFrame&, sal_uInt16 nSlotId ); SfxRequest( sal_uInt16 nSlot, SfxCallMode nCallMode, SfxItemPool &rPool ); SfxRequest( const SfxSlot* pSlot, const css::uno::Sequence < css::beans::PropertyValue >& rArgs, SfxCallMode nCallMode, SfxItemPool &rPool ); -- cgit