summaryrefslogtreecommitdiff
path: root/package/source/manifest/ManifestImport.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-28 11:43:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-02 08:28:19 +0100
commit4a7164429b727bd8fd6f183950e85e6225869364 (patch)
treeb96bc09cfe092cf51231ed83f0a446e4e4db3faf /package/source/manifest/ManifestImport.hxx
parent6bd0f40d346a36d8b3d454fd0cf087d1ca126ee4 (diff)
count and order of receipt of properties doesn't matter
so stick imported properties into assigned slots and throw out empty ones when finished. Reuse existing ids for this between import and export. Shuffle FULLPATH to 0 as per import comment Change-Id: I516116c5327498ad043f6e2fb9bd257599ade2a2
Diffstat (limited to 'package/source/manifest/ManifestImport.hxx')
-rw-r--r--package/source/manifest/ManifestImport.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/manifest/ManifestImport.hxx b/package/source/manifest/ManifestImport.hxx
index 5681f4598ed4..68afefd3f148 100644
--- a/package/source/manifest/ManifestImport.hxx
+++ b/package/source/manifest/ManifestImport.hxx
@@ -31,6 +31,7 @@
#include <cppuhelper/implbase1.hxx> // helper for implementations
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
+#include <comphelper/sequenceasvector.hxx>
#include <vector>
#include <HashMaps.hxx>
@@ -63,8 +64,7 @@ typedef ::std::vector< ManifestScopeEntry > ManifestStack;
class ManifestImport : public cppu::WeakImplHelper1 < com::sun::star::xml::sax::XDocumentHandler >
{
protected:
- com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > aSequence;
- sal_Int16 nNumProperty;
+ comphelper::SequenceAsVector< com::sun::star::beans::PropertyValue > aSequence;
ManifestStack aStack;
sal_Bool bIgnoreEncryptData;
sal_Int32 nDerivedKeySize;