summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/registry/inc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-10-31 23:50:41 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 07:19:56 +0100
commit18537be0cd5a50cd9a2853a8e06660c820c2e7f8 (patch)
tree6b6770e87c3c197eb2aa591fc34871993b844646 /desktop/source/deployment/registry/inc
parentbbf1312b2d775a851a38290e3c12c677f6acbfde (diff)
Replace some lists by vectors in deployment/registry (desktop)
Change-Id: I264a8b4d8fc90f647d5a6f1aef4a190353d494e5 Reviewed-on: https://gerrit.libreoffice.org/44143 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/deployment/registry/inc')
-rw-r--r--desktop/source/deployment/registry/inc/dp_backend.h3
-rw-r--r--desktop/source/deployment/registry/inc/dp_backenddb.hxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/desktop/source/deployment/registry/inc/dp_backend.h b/desktop/source/deployment/registry/inc/dp_backend.h
index dfc62058a7bf..03f2640a4cf4 100644
--- a/desktop/source/deployment/registry/inc/dp_backend.h
+++ b/desktop/source/deployment/registry/inc/dp_backend.h
@@ -32,7 +32,6 @@
#include <com/sun/star/deployment/XPackageRegistry.hpp>
#include <com/sun/star/deployment/XPackageManager.hpp>
#include <com/sun/star/deployment/InvalidRemovedParameterException.hpp>
-#include <list>
#include <unordered_map>
#include <strings.hrc>
@@ -251,7 +250,7 @@ protected:
not used are deleted.
*/
void deleteUnusedFolders(
- std::list< OUString> const & usedFolders);
+ std::vector< OUString> const & usedFolders);
/* deletes one folder with a "temporary" name and the corresponding
tmp file, which was used to derive the folder name.
*/
diff --git a/desktop/source/deployment/registry/inc/dp_backenddb.hxx b/desktop/source/deployment/registry/inc/dp_backenddb.hxx
index a127658cd99a..8e619d091020 100644
--- a/desktop/source/deployment/registry/inc/dp_backenddb.hxx
+++ b/desktop/source/deployment/registry/inc/dp_backenddb.hxx
@@ -109,7 +109,7 @@ protected:
/* returns the values of one particularly child element of all key elements.
*/
- std::list< OUString> getOneChildFromAllEntries(
+ std::vector< OUString> getOneChildFromAllEntries(
OUString const & sElementName);