From e3709f3616387d8d9dcd876b6a6479f4aea68f22 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 21 Nov 2006 16:51:57 +0000 Subject: 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. --- package/source/manifest/ManifestExport.cxx | 8 ++++---- 1 file 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() ); -- cgit