hwpfilter/source/hwpreader.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8ad7603c7c6ba327ff1e836e023c2ad0ab529d53
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Apr 25 11:09:11 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Apr 25 14:15:12 2022 +0200

    vector is a little faster than deque here
    
    Change-Id: I0471143b13ea8113919ed71abe956f27729cecad
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133372
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 56e54d5920c0..3560d6d4b334 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -880,7 +880,7 @@ void HwpReader::makeMasterStyles()
 
     int i;
     int nMax = hwpfile.getMaxSettedPage();
-    std::deque<PageSetting> aSet(nMax + 1);
+    std::vector<PageSetting> aSet(nMax + 1);
 
     for( i = 0 ; i < hwpfile.getPageNumberCount() ; i++ )
     {

Reply via email to