summaryrefslogtreecommitdiff
path: root/package/source/manifest/ManifestExport.cxx
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
commite41e1b0738c9ee8db3636e9c094d50c4e8afe32d (patch)
treef0495a836dc9241e77982225c0f4790908227501 /package/source/manifest/ManifestExport.cxx
parent5fb17e21fb510d045c89f5bae3977a04e3409606 (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.
Diffstat (limited to 'package/source/manifest/ManifestExport.cxx')
-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 8675f1b31..656d24786 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() );