summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:51:57 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:51:57 +0000
commite3709f3616387d8d9dcd876b6a6479f4aea68f22 (patch)
treef0e8f10a0eccb808183ffc27571dd16362c9bc68
parent36503056e407fe1fb0fbff8e697a331f012fb6f2 (diff)
INTEGRATION: CWS pj65 (1.15.14); FILE MERGED
2006/10/31 13:32:34 pjanik 1.15.14.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
-rw-r--r--package/source/manifest/ManifestExport.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/source/manifest/ManifestExport.cxx b/package/source/manifest/ManifestExport.cxx
index 9d7b4de95ad5..8199b429ed3b 100644
--- a/package/source/manifest/ManifestExport.cxx
+++ b/package/source/manifest/ManifestExport.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ManifestExport.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: obo $ $Date: 2006-10-13 11:47:36 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:51:57 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -207,7 +207,7 @@ ManifestExport::ManifestExport(Reference < XDocumentHandler > xHandler, const S
}
else if (pValue->Name.equals (sSizeProperty) )
{
- sal_Int32 nSize;
+ sal_Int32 nSize = 0;
pValue->Value >>= nSize;
OUStringBuffer aBuffer;
aBuffer.append ( nSize );
@@ -261,7 +261,7 @@ ManifestExport::ManifestExport(Reference < XDocumentHandler > xHandler, const S
pNewAttrList->AddAttribute ( sKeyDerivationNameAttribute, sCdataAttribute, sPBKDF2 );
- sal_Int32 nCount;
+ sal_Int32 nCount = 0;
pIterationCount->Value >>= nCount;
aBuffer.append (nCount);
pNewAttrList->AddAttribute ( sIterationCountAttribute, sCdataAttribute, aBuffer.makeStringAndClear() );