summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-02-22 15:58:53 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-02-22 16:51:21 -0600
commit23dace36e79aba275592d611298abe524d4adbbf (patch)
tree8035f35fd62c726428ec075ca1b3e812f978e9d7 /sc
parentsupport using for libxml2 internal on MacOSX (diff)
downloadcore-23dace36e79aba275592d611298abe524d4adbbf.tar.gz
core-23dace36e79aba275592d611298abe524d4adbbf.zip
WaE unitialized variable
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 4d3ff607cef2..5d4e8bc24b04 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -1795,7 +1795,7 @@ void lcl_FillOldFields(
{
uno::Any aOrigAny = xDimProp->getPropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM(SC_UNO_DP_ORIGINAL_POS)));
- sal_Int32 nTmp;
+ sal_Int32 nTmp = 0;
if (aOrigAny >>= nTmp)
nDupSource = static_cast<sal_Int32>(nTmp);
}