cui/source/dialogs/cuihyperdlg.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 48e14ca45d6e4bdadba3f9260ade55d3980d3362
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Sep 12 09:56:00 2025 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Sep 12 12:53:02 2025 +0200

    cui: silence warning C6011: Dereferencing NULL pointer 'pSet'.
    
    so https://ci.libreoffice.org/job/lo_tb_master_win_analyze
    stops complaining about it with
    
    
C:/cygwin/home/tdf/lode/jenkins/workspace/lo_tb_master_win_analyze/cui/source/dialogs/cuihyperdlg.cxx(168):
 error C2220: the following warning is treated as an error
    C:    make[1]: *** 
[C:/cygwin/home/tdf/lode/jenkins/workspace/lo_tb_master_win_analyze/solenv/gbuild/LinkTarget.mk:338:
 
C:/cygwin/home/tdf/lode/jenkins/workspace/lo_tb_master_win_analyze/workdir/CxxObject/cui/source/dialogs/cuihyperdlg.o]
 Error 2
    
    while the code is being refactored, see
    https://gerrit.libreoffice.org/c/core/+/190680/comment/785f076a_42cbada5/
    
    Change-Id: I4f5827546fe94f638c2fe16960352d6eae6a10c1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190857
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/cui/source/dialogs/cuihyperdlg.cxx 
b/cui/source/dialogs/cuihyperdlg.cxx
index e0f7f6acccdc..9559b34320ac 100644
--- a/cui/source/dialogs/cuihyperdlg.cxx
+++ b/cui/source/dialogs/cuihyperdlg.cxx
@@ -158,6 +158,7 @@ SvxHpLinkDlg::SvxHpLinkDlg(SfxBindings* pBindings, 
SfxChildWindow* pChild, weld:
 
     // Now that we have got the link data, we can reset
     // all the pages with the correct information
+    assert(pSet);
     for (std::unique_ptr<IconChoicePageData>& page: maPageList) {
         page->xPage->Reset(*pSet);
     }

Reply via email to