https://bugs.documentfoundation.org/show_bug.cgi?id=158593

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|[email protected]         |

--- Comment #3 from Julien Nabet <[email protected]> ---
Naive patch here:
diff --git a/cui/source/options/optaboutconfig.cxx
b/cui/source/options/optaboutconfig.cxx
index 6e3bdd9b2747..f153e46330c8 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -310,7 +310,14 @@ void CuiAboutConfigTabPage::FillItemSet()
         Reference<XNameAccess> xUpdateAccess = getConfigAccess((*pIter)->Name,
true);
         Reference<XNameReplace> xNameReplace(xUpdateAccess, UNO_QUERY_THROW);

-        xNameReplace->replaceByName((*pIter)->Property, (*pIter)->Value);
+        try
+        {
+            xNameReplace->replaceByName((*pIter)->Property, (*pIter)->Value);
+        }
+        catch (css::lang::IllegalArgumentException)
+        {
+            SAL_WARN("cui.options", "configmgr modification of finalized item:
" << (*pIter)->Name);
+        }

         Reference<util::XChangesBatch> xChangesBatch(xUpdateAccess,
UNO_QUERY_THROW);
         xChangesBatch->commitChanges();


"naive" because it won't inform user it didn't work and not sure if it's the
right way to fix this.

Can't help more here=>uncc myself

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to