summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/stringutil.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-05-13 17:57:20 -0500
committerKohei Yoshida <kohei.yoshida@suse.de>2013-05-14 00:08:40 +0000
commite7a41314081de30d3b542b88848808de1a43775e (patch)
tree424564e68b99e8cfca31cf071de96a371ef88a1b /sc/source/core/tool/stringutil.cxx
parent8a1fbd41ef0c7c066e88f7f449275a89f61d2bf5 (diff)
coverity#1000855 Unitialized scalar variable
Change-Id: I2bece68ed33f3aa193a30d9686ba81d21c7ec55e Reviewed-on: https://gerrit.libreoffice.org/3896 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
Diffstat (limited to 'sc/source/core/tool/stringutil.cxx')
-rw-r--r--sc/source/core/tool/stringutil.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/stringutil.cxx b/sc/source/core/tool/stringutil.cxx
index ac2ec76042b6..fcaae9d6d5a1 100644
--- a/sc/source/core/tool/stringutil.cxx
+++ b/sc/source/core/tool/stringutil.cxx
@@ -341,6 +341,7 @@ ScInputStringType ScStringUtil::parseInputString(
aRet.mnFormatType = 0;
aRet.meType = ScInputStringType::Unknown;
aRet.maText = rStr;
+ aRet.mfValue = 0.0;
if (rStr.getLength() > 1 && rStr[0] == '=')
{