[Libreoffice-commits] core.git: sw/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 7 07:01:47 UTC 2019
sw/source/filter/ww8/ww8scan.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 780d0945fb917ead9b98debe57210092cdc59351
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue May 7 07:49:44 2019 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue May 7 09:01:14 2019 +0200
Replace list by deque for maFkpCache (ww8scan)
Change-Id: I5d2699bd3cbbc18844585f8c2619295f974eb7ce
Reviewed-on: https://gerrit.libreoffice.org/71887
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index 3a109542791a..d22a32180dbf 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -26,7 +26,7 @@
#include <algorithm>
#include <cassert>
#include <cstddef>
-#include <list>
+#include <deque>
#include <memory>
#include <stack>
#include <unordered_map>
@@ -600,7 +600,7 @@ private:
== 10 : 18549 pap, 47 chp
== 5 : 18515 pap, 47 chp
*/
- std::list<std::unique_ptr<WW8Fkp>> maFkpCache;
+ std::deque<std::unique_ptr<WW8Fkp>> maFkpCache;
enum Limits {eMaxCache = 50000};
bool NewFkp();
More information about the Libreoffice-commits
mailing list