summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-14 13:46:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-14 13:46:50 +0100
commit23067849649518210ee0fdf80fa4b05625f1e6bb (patch)
tree84968ce0cfd3acf4e7a526d7e24c0f8dadcbd1cd
parent3f00358bfdad0a18fe053c3d154f74e3aa6afba9 (diff)
valgrind: Conditional jump or move depends on uninitialised value
in ScDPItemData::DisposeString
-rw-r--r--sc/source/core/data/dpitemdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx
index c6fc2dd76431..83ca357a741f 100644
--- a/sc/source/core/data/dpitemdata.cxx
+++ b/sc/source/core/data/dpitemdata.cxx
@@ -125,7 +125,7 @@ ScDPItemData::ScDPItemData(const rtl::OUString* pStr) :
mpString(pStr), meType(String), mbStringInterned(true) {}
ScDPItemData::ScDPItemData(sal_Int32 nGroupType, sal_Int32 nValue) :
- meType(GroupValue)
+ meType(GroupValue), mbStringInterned(false)
{
maGroupValue.mnGroupType = nGroupType;
maGroupValue.mnValue = nValue;