sc/source/ui/unoobj/solveruno.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9f50e047135cd104a9b5081239617a679bb5610d
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat Sep 28 11:17:04 2024 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sat Sep 28 12:50:24 2024 +0200

    cid#1620326 UNINIT
    
    Change-Id: Ic99797c2e286e25e7803668480a1aabd26cdca27
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174086
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/sc/source/ui/unoobj/solveruno.cxx 
b/sc/source/ui/unoobj/solveruno.cxx
index b4472874d0ff..1538c3d50bbf 100644
--- a/sc/source/ui/unoobj/solveruno.cxx
+++ b/sc/source/ui/unoobj/solveruno.cxx
@@ -777,7 +777,7 @@ void SAL_CALL ScSolverSettings::solve()
             else
             {
                 // Test if the right side is a numeric value
-                sal_uInt32 nFormat;
+                sal_uInt32 nFormat = 0;
                 double fValue(0);
                 if (m_rDoc.GetFormatTable()->IsNumberFormat(rConstr.aRightStr, 
nFormat, fValue))
                     aConstraint.Right <<= fValue;
@@ -834,7 +834,7 @@ void SAL_CALL ScSolverSettings::solve()
         else
         {
             // Test if the right side is a numeric value
-            sal_uInt32 nFormat;
+            sal_uInt32 nFormat = 0;
             double fValue(0);
             if (m_rDoc.GetFormatTable()->IsNumberFormat(aValStr, nFormat, 
fValue))
                 aConstraint.Right <<= fValue;

Reply via email to