summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-13 10:47:36 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-13 10:47:36 +0000
commit6cc2f6a8e147ec59088e2f12a2420cf0c9579211 (patch)
tree69a6bde5c935fffa49412ea6f55fb8117175feb2 /package
parent1d161b0eeca1002fe1080f20ce93eb77e6521a50 (diff)
INTEGRATION: CWS opofxmlstorage (1.12.10); FILE MERGED
2006/06/29 15:44:05 mav 1.12.10.2: RESYNC: (1.12-1.13); FILE MERGED 2006/04/21 11:36:58 mav 1.12.10.1: #i64612# support OFOPXML format
Diffstat (limited to 'package')
-rw-r--r--package/source/manifest/ManifestExport.cxx18
1 files changed, 8 insertions, 10 deletions
diff --git a/package/source/manifest/ManifestExport.cxx b/package/source/manifest/ManifestExport.cxx
index 29d27d24f80d..9d7b4de95ad5 100644
--- a/package/source/manifest/ManifestExport.cxx
+++ b/package/source/manifest/ManifestExport.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ManifestExport.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 17:22:48 $
+ * last change: $Author: obo $ $Date: 2006-10-13 11:47:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -39,9 +39,6 @@
#ifndef _MANIFEST_EXPORT_HXX
#include <ManifestExport.hxx>
#endif
-#ifndef _ATTRIBUTE_LIST_HXX
-#include <AttributeList.hxx>
-#endif
#ifndef _MANIFEST_DEFINES_HXX
#include <ManifestDefines.hxx>
#endif
@@ -65,6 +62,7 @@
#endif
#include <comphelper/documentconstants.hxx>
+#include <comphelper/attributelist.hxx>
using namespace rtl;
using namespace com::sun::star::beans;
@@ -104,7 +102,7 @@ ManifestExport::ManifestExport(Reference < XDocumentHandler > xHandler, const S
const OUString sPBKDF2 ( RTL_CONSTASCII_USTRINGPARAM ( "PBKDF2" ) );
const OUString sChecksumType ( RTL_CONSTASCII_USTRINGPARAM ( CHECKSUM_TYPE ) );
- AttributeList * pRootAttrList = new AttributeList;
+ ::comphelper::AttributeList * pRootAttrList = new ::comphelper::AttributeList;
const Sequence < PropertyValue > *pSequence = rManList.getConstArray();
const sal_uInt32 nManLength = rManList.getLength();
@@ -191,7 +189,7 @@ ManifestExport::ManifestExport(Reference < XDocumentHandler > xHandler, const S
for (sal_uInt32 i = 0 ; i < nManLength ; i++)
{
- AttributeList *pAttrList = new AttributeList;
+ ::comphelper::AttributeList *pAttrList = new ::comphelper::AttributeList;
const PropertyValue *pValue = pSequence[i].getConstArray();
OUString aString;
const PropertyValue *pVector = NULL, *pSalt = NULL, *pIterationCount = NULL, *pDigest = NULL;
@@ -229,7 +227,7 @@ ManifestExport::ManifestExport(Reference < XDocumentHandler > xHandler, const S
xHandler->startElement( sFileEntryElement , xAttrList);
if ( pVector && pSalt && pIterationCount )
{
- AttributeList * pNewAttrList = new AttributeList;
+ ::comphelper::AttributeList * pNewAttrList = new ::comphelper::AttributeList;
Reference < XAttributeList > xNewAttrList (pNewAttrList);
OUStringBuffer aBuffer;
Sequence < sal_uInt8 > aSequence;
@@ -244,7 +242,7 @@ ManifestExport::ManifestExport(Reference < XDocumentHandler > xHandler, const S
}
xHandler->startElement( sEncryptionDataElement , xNewAttrList);
- pNewAttrList = new AttributeList;
+ pNewAttrList = new ::comphelper::AttributeList;
xNewAttrList = pNewAttrList;
pNewAttrList->AddAttribute ( sAlgorithmNameAttribute, sCdataAttribute, sBlowfish );
@@ -258,7 +256,7 @@ ManifestExport::ManifestExport(Reference < XDocumentHandler > xHandler, const S
xHandler->ignorableWhitespace ( sWhiteSpace );
xHandler->endElement( sAlgorithmElement );
- pNewAttrList = new AttributeList;
+ pNewAttrList = new ::comphelper::AttributeList;
xNewAttrList = pNewAttrList;
pNewAttrList->AddAttribute ( sKeyDerivationNameAttribute, sCdataAttribute, sPBKDF2 );