summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-06-13 10:09:41 +0200
committerEike Rathke <erack@redhat.com>2016-06-13 10:17:13 +0200
commit1d4ad943ed1bd0c3a0e8ea9c6acd1a65427f8bb5 (patch)
treeb9d5e4b8e41a917b62a737c01d1b215930f50db2 /sc
parente4adc7ff5d45833ca3da9dae156dc66e50b9f088 (diff)
coverity#1362684 Uninitialized scalar variable (UNINIT)
Change-Id: I19ba749ae4cca43602330834f155eca89638c711
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index 37594e2c6374..86c17209dc7b 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -3360,7 +3360,7 @@ void ScInterpreter::ScGetPivotData()
// Parse possible number from MatchValueName and format
// locale independent as MatchValue.
- sal_uInt32 nNumFormat;
+ sal_uInt32 nNumFormat = 0;
double fValue;
if (pFormatter->IsNumberFormat( aFilters[i].MatchValueName, nNumFormat, fValue))
aFilters[i].MatchValue = ScDPCache::GetLocaleIndependentFormattedString(