diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-16 10:11:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-16 11:20:38 +0200 |
commit | 32be55414da2af0ea796a57c7f15d18a3fd756cb (patch) | |
tree | a10b9b3f2c0bfe62fe914cadd7a0a019f97f8178 /cui/source/inc/hldoctp.hxx | |
parent | 4dc823990ab217cb9d07a0555d3015d43380fdf5 (diff) |
cleanup code in IconChoiceDialog::ActivatePageImpl
which has been this way ever since
commit d32b3a714fe55892bdead03502c5a9b0e77fa61d
Author: Mathias Bauer <mba@openoffice.org>
Date: Sat Oct 31 00:36:06 2009 +0100
#i106421#: move svx/source/cui to cui
And pass the SfxItemSet as a pointer up the constructor hierarchy,
instead of a reference, since the base class wants a pointer anyway
Change-Id: Iac4081fb5f3fc9cb9b0223f903d74ba84cdd5f6c
Reviewed-on: https://gerrit.libreoffice.org/37664
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc/hldoctp.hxx')
-rw-r--r-- | cui/source/inc/hldoctp.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/inc/hldoctp.hxx b/cui/source/inc/hldoctp.hxx index be739f471468..51e4f9cc7002 100644 --- a/cui/source/inc/hldoctp.hxx +++ b/cui/source/inc/hldoctp.hxx @@ -66,11 +66,11 @@ protected: OUString GetCurrentURL (); public: - SvxHyperlinkDocTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet); + SvxHyperlinkDocTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet* pItemSet); virtual ~SvxHyperlinkDocTp() override; virtual void dispose() override; - static VclPtr<IconChoicePage> Create( vcl::Window* pWindow, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet ); + static VclPtr<IconChoicePage> Create( vcl::Window* pWindow, IconChoiceDialog* pDlg, const SfxItemSet* pItemSet ); virtual void SetMarkStr ( const OUString& aStrMark ) override; |