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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 2 17:39:51 UTC 2019


 sc/source/filter/rtf/eeimpars.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8fb538f719eb27c2f8a533aee731cf2897580631
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Nov 2 15:18:15 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Nov 2 18:38:55 2019 +0100

    cid#1455214 Uninitialized scalar variable
    
    Change-Id: I90ef15645eaa70a166aa1940b1b296c299aee0e2
    Reviewed-on: https://gerrit.libreoffice.org/81939
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/filter/rtf/eeimpars.cxx b/sc/source/filter/rtf/eeimpars.cxx
index 49acd09a3475..368c99fa3bd6 100644
--- a/sc/source/filter/rtf/eeimpars.cxx
+++ b/sc/source/filter/rtf/eeimpars.cxx
@@ -200,7 +200,7 @@ void ScEEImport::WriteToDocument( bool bSizeColsRows, double nOutputFactor, SvNu
 
             // HTML
             OUString aValStr, aNumStr;
-            double fVal;
+            double fVal = 0.0;
             sal_uInt32 nNumForm = 0;
             LanguageType eNumLang = LANGUAGE_NONE;
             if ( pE->pNumStr )


More information about the Libreoffice-commits mailing list