summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-06-13 10:14:16 +0200
committerEike Rathke <erack@redhat.com>2016-06-13 10:17:14 +0200
commit194cea28985867957783965bc19a31513b1d603e (patch)
treede0dc636be0a4ba14a002d0286c507712b733bf5 /sc
parent1d4ad943ed1bd0c3a0e8ea9c6acd1a65427f8bb5 (diff)
coverity#1362685 Uninitialized scalar variable (UNINIT)
Change-Id: I5da1a04d2fce6583fad0934d06dcba452181f256
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dpobject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 1d3b3471d050..987572bf1460 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -1885,7 +1885,7 @@ bool ScDPObject::ParseFilters(
{
// Parse possible number from aQueryValueName and format
// locale independent as aQueryValue.
- sal_uInt32 nNumFormat;
+ sal_uInt32 nNumFormat = 0;
double fValue;
if (pFormatter->IsNumberFormat( aQueryValueName, nNumFormat, fValue))
aQueryValue = ScDPCache::GetLocaleIndependentFormattedString( fValue, *pFormatter, nNumFormat);