From 32be55414da2af0ea796a57c7f15d18a3fd756cb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 16 May 2017 10:11:26 +0200 Subject: cleanup code in IconChoiceDialog::ActivatePageImpl which has been this way ever since commit d32b3a714fe55892bdead03502c5a9b0e77fa61d Author: Mathias Bauer 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 Reviewed-by: Noel Grandin --- cui/source/dialogs/hldoctp.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cui/source/dialogs/hldoctp.cxx') diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx index 1c002d1035fb..92c4e64a3602 100644 --- a/cui/source/dialogs/hldoctp.cxx +++ b/cui/source/dialogs/hldoctp.cxx @@ -35,8 +35,8 @@ sal_Char const sFileScheme[] = INET_FILE_SCHEME; |* |************************************************************************/ -SvxHyperlinkDocTp::SvxHyperlinkDocTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet) - : SvxHyperlinkTabPageBase ( pParent, pDlg, "HyperlinkDocPage", "cui/ui/hyperlinkdocpage.ui", rItemSet ), +SvxHyperlinkDocTp::SvxHyperlinkDocTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet* pItemSet) + : SvxHyperlinkTabPageBase ( pParent, pDlg, "HyperlinkDocPage", "cui/ui/hyperlinkdocpage.ui", pItemSet ), mbMarkWndOpen ( false ) { get(m_pCbbPath, "path"); @@ -172,9 +172,9 @@ void SvxHyperlinkDocTp::GetCurentItemData ( OUString& rStrURL, OUString& aStrNam |* |************************************************************************/ -VclPtr SvxHyperlinkDocTp::Create( vcl::Window* pWindow, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet ) +VclPtr SvxHyperlinkDocTp::Create( vcl::Window* pWindow, IconChoiceDialog* pDlg, const SfxItemSet* pItemSet ) { - return VclPtr::Create( pWindow, pDlg, rItemSet ); + return VclPtr::Create( pWindow, pDlg, pItemSet ); } /************************************************************************* -- cgit