From 18537be0cd5a50cd9a2853a8e06660c820c2e7f8 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 31 Oct 2017 23:50:41 +0100 Subject: Replace some lists by vectors in deployment/registry (desktop) Change-Id: I264a8b4d8fc90f647d5a6f1aef4a190353d494e5 Reviewed-on: https://gerrit.libreoffice.org/44143 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- desktop/source/deployment/registry/inc/dp_backend.h | 3 +-- desktop/source/deployment/registry/inc/dp_backenddb.hxx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'desktop/source/deployment/registry/inc') 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 #include #include -#include #include #include @@ -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); -- cgit v1.2.3