sc/source/core/data/documen4.cxx      |    2 +-
 svtools/source/config/extcolorcfg.cxx |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 4e6329ce3b7231d4892ed6758a2e73f7aab34220
Author:     Caolán McNamara <[email protected]>
AuthorDate: Fri Jul 4 08:46:48 2025 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri Jul 4 11:10:27 2025 +0200

    cid#1655266 suppress Unchecked return value
    
    Change-Id: If4f2bb644c34ed2cbd1cb76a489e1e5efb32e136
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187363
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins

diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index 61b9670a6f84..aee44751d406 100644
--- a/sc/source/core/data/documen4.cxx
+++ b/sc/source/core/data/documen4.cxx
@@ -808,7 +808,7 @@ const SfxItemSet* ScDocument::GetCondResult( SCCOL nCol, 
SCROW nRow, SCTAB nTab,
     // and ScCondFormatIndexes might end up being deleted under
     // us, so we need to trigger evaluation before accessing them.
     if (pCell->getType() == CELLTYPE_FORMULA)
-        pCell->getFormula()->IsValue();
+        (void)pCell->getFormula()->IsValue();
     const ScPatternAttr* pPattern = GetPattern( nCol, nRow, nTab );
     const ScCondFormatIndexes& rIndex =
         pPattern->GetItem(ATTR_CONDITIONAL).GetCondFormatData();
commit d6ed7cf4f64d694fd7f8907db57405f08df4c73d
Author:     Caolán McNamara <[email protected]>
AuthorDate: Fri Jul 4 08:45:38 2025 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri Jul 4 11:10:16 2025 +0200

    cid#1655269 Unchecked return value
    
    Change-Id: I71fc69c0d52febf5f47a7206bc011b1a705b911d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187362
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/svtools/source/config/extcolorcfg.cxx 
b/svtools/source/config/extcolorcfg.cxx
index 11a8a0bdca06..b9f07ec67134 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -406,7 +406,8 @@ void ExtendedColorConfig_Impl::ImplCommit()
             for (auto const& elem : configValue.second.first)
             {
                 pPropValues->Name = sNode + s_sSep + elem.first;
-                ConfigItem::AddNode(sNode, elem.first);
+                if (!ConfigItem::AddNode(sNode, elem.first))
+                    SAL_WARN("svtools", "Could not add config node: " << 
pPropValues->Name);
                 pPropValues->Name += sColor;
                 pPropValues->Value <<= elem.second.getColor();
                 // the default color will never be changed

Reply via email to