[Libreoffice-commits] core.git: cui/source

Noel (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 16 10:17:44 UTC 2020


 cui/source/dialogs/cuihyperdlg.cxx |    2 +-
 cui/source/dialogs/iconcdlg.cxx    |    2 +-
 cui/source/inc/cuihyperdlg.hxx     |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 81a11c6f1c2caec8c177cb4e061631561a4d102e
Author:     Noel <noelgrandin at gmail.com>
AuthorDate: Mon Nov 16 10:50:19 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Nov 16 11:17:02 2020 +0100

    remove unused param in SvxHpLinkDlg
    
    ever since
        commit d32b3a714fe55892bdead03502c5a9b0e77fa61d
        Author: Mathias Bauer <mba at openoffice.org>
        Date:   Sat Oct 31 00:36:06 2009 +0100
        #i106421#: move svx/source/cui to cui
    
    Change-Id: I1c331cda3f756cc87344eac6c56cfaa8466286ba
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105914
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx
index dd184e16a732..f4da049c61cb 100644
--- a/cui/source/dialogs/cuihyperdlg.cxx
+++ b/cui/source/dialogs/cuihyperdlg.cxx
@@ -286,7 +286,7 @@ void SvxHpLinkDlg::SetReadOnlyMode( bool bRdOnly )
 |* late-initialization of newly created pages
 |*
 |************************************************************************/
-void SvxHpLinkDlg::PageCreated(const OString& /*rId*/, IconChoicePage& rPage)
+void SvxHpLinkDlg::PageCreated(IconChoicePage& rPage)
 {
     SvxHyperlinkTabPageBase& rHyperlinkPage = dynamic_cast< SvxHyperlinkTabPageBase& >( rPage );
     Reference< XFrame > xDocumentFrame = GetBindings().GetActiveFrame();
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index bca5984f8817..5e792a5e59c0 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -75,7 +75,7 @@ void SvxHpLinkDlg::AddTabPage(const OString& rId, CreatePage pCreateFunc /* != 0
     weld::Container* pPage = m_xIconCtrl->get_page(rId);
     maPageList.emplace_back(new IconChoicePageData(rId, pCreateFunc(pPage, this, pSet)));
     maPageList.back()->xPage->Reset(*pSet);
-    PageCreated(rId, *maPageList.back()->xPage);
+    PageCreated(*maPageList.back()->xPage);
 }
 
 /**********************************************************************
diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx
index cbdc11492719..626ac501cd63 100644
--- a/cui/source/inc/cuihyperdlg.hxx
+++ b/cui/source/inc/cuihyperdlg.hxx
@@ -125,7 +125,7 @@ public:
     void                Start();
     bool                QueryClose();
 
-    void                PageCreated(const OString& rId, IconChoicePage& rPage);
+    void                PageCreated(IconChoicePage& rPage);
 
     void                SetPage( SvxHyperlinkItem const * pItem );
     void                SetReadOnlyMode( bool bReadOnly );


More information about the Libreoffice-commits mailing list