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/hlmailtp.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/hlmailtp.hxx')
-rw-r--r-- | cui/source/inc/hlmailtp.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/inc/hlmailtp.hxx b/cui/source/inc/hlmailtp.hxx index 349437d1ef2e..77fef7a473f2 100644 --- a/cui/source/inc/hlmailtp.hxx +++ b/cui/source/inc/hlmailtp.hxx @@ -51,11 +51,11 @@ protected: SvxLinkInsertMode& eMode ) override; public: - SvxHyperlinkMailTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet); + SvxHyperlinkMailTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet* pItemSet); virtual ~SvxHyperlinkMailTp() 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 SetInitFocus() override; }; |