diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-12-02 13:47:32 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-12-02 22:13:31 +0100 |
commit | 279674b3024d83601e928e74e128892ca8762dc7 (patch) | |
tree | 40446164deb368ddaf9f474f99f6e304d3e03dbd /include/xmloff/xmlexp.hxx | |
parent | 2f2c7c3dadda7a20c8d49e6ea044887a94d2d46e (diff) |
Replace list by vector in xmlexp (xmloff/sw)
Use for-range loop with "auto" to modernize a bit
Change-Id: I9efd7ad2d60eac6a6ce0f79af6ccb02ec235c35d
Reviewed-on: https://gerrit.libreoffice.org/45711
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include/xmloff/xmlexp.hxx')
-rw-r--r-- | include/xmloff/xmlexp.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index 4127e2a883fa..0812bc66448e 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -63,6 +63,7 @@ #include <vcl/errcode.hxx> #include <list> +#include <vector> #include <memory> #include <o3tl/typed_flags_set.hxx> @@ -251,7 +252,7 @@ protected: @return the accumulated count of all settings in all groups */ - virtual sal_Int32 GetDocumentSpecificSettings( ::std::list< SettingsGroup >& _out_rSettings ); + virtual sal_Int32 GetDocumentSpecificSettings( ::std::vector< SettingsGroup >& _out_rSettings ); const css::uno::Reference< css::document::XEmbeddedObjectResolver >& GetEmbeddedResolver() const { return mxEmbeddedResolver; } inline void SetEmbeddedResolver( css::uno::Reference< css::document::XEmbeddedObjectResolver > const & _xEmbeddedResolver ); |