Kaydet (Commit) 27ac7f9b authored tarafından Julien Nabet's avatar Julien Nabet

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/72434Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 52e47276
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define INCLUDED_DBACCESS_SOURCE_UI_DLG_DBFINDEX_HXX #define INCLUDED_DBACCESS_SOURCE_UI_DLG_DBFINDEX_HXX
#include <vcl/weld.hxx> #include <vcl/weld.hxx>
#include <list> #include <deque>
namespace dbaui namespace dbaui
{ {
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
const OUString& GetIndexFileName() const { return aIndexFileName; } const OUString& GetIndexFileName() const { return aIndexFileName; }
}; };
typedef std::list< OTableIndex > TableIndexList; typedef std::deque< OTableIndex > TableIndexList;
// OTableInfo // OTableInfo
class ODbaseIndexDialog; class ODbaseIndexDialog;
...@@ -59,7 +59,7 @@ public: ...@@ -59,7 +59,7 @@ public:
void WriteInfFile( const OUString& rDSN ) const; void WriteInfFile( const OUString& rDSN ) const;
}; };
typedef std::list< OTableInfo > TableInfoList; typedef std::deque< OTableInfo > TableInfoList;
// IndexDialog // IndexDialog
class ODbaseIndexDialog : public weld::GenericDialogController class ODbaseIndexDialog : public weld::GenericDialogController
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment