[Libreoffice-commits] core.git: dbaccess/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Fri May 17 08:26:51 UTC 2019


 dbaccess/source/ui/dlg/dbfindex.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 27ac7f9bcfafde845dcd1979272b66301a75f53c
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu May 16 22:23:31 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri May 17 10:25:59 2019 +0200

    Replace list by deque in dbfindex (dbaccess)
    
    Change-Id: I9503cce6eff31f08c2762940b881ba1dc8633288
    goal: to get rid of std::list when not mandatory
    Reviewed-on: https://gerrit.libreoffice.org/72434
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/dbaccess/source/ui/dlg/dbfindex.hxx b/dbaccess/source/ui/dlg/dbfindex.hxx
index cd086c89b139..d0c23a416a5f 100644
--- a/dbaccess/source/ui/dlg/dbfindex.hxx
+++ b/dbaccess/source/ui/dlg/dbfindex.hxx
@@ -21,7 +21,7 @@
 #define INCLUDED_DBACCESS_SOURCE_UI_DLG_DBFINDEX_HXX
 
 #include <vcl/weld.hxx>
-#include <list>
+#include <deque>
 
 namespace dbaui
 {
@@ -40,7 +40,7 @@ public:
     const OUString& GetIndexFileName() const { return aIndexFileName; }
 };
 
-typedef std::list< OTableIndex >  TableIndexList;
+typedef std::deque< OTableIndex >  TableIndexList;
 
 // OTableInfo
 class ODbaseIndexDialog;
@@ -59,7 +59,7 @@ public:
     void WriteInfFile( const OUString& rDSN ) const;
 };
 
-typedef std::list< OTableInfo >   TableInfoList;
+typedef std::deque< OTableInfo >   TableInfoList;
 
 // IndexDialog
 class ODbaseIndexDialog : public weld::GenericDialogController


More information about the Libreoffice-commits mailing list