diff options
Diffstat (limited to 'package/source/xstor/ohierarchyholder.hxx')
-rw-r--r-- | package/source/xstor/ohierarchyholder.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/package/source/xstor/ohierarchyholder.hxx b/package/source/xstor/ohierarchyholder.hxx index 2c2db2662e13..97637c1a9ab0 100644 --- a/package/source/xstor/ohierarchyholder.hxx +++ b/package/source/xstor/ohierarchyholder.hxx @@ -30,7 +30,6 @@ #include <rtl/ref.hxx> -#include <list> #include <unordered_map> #include <vector> @@ -39,8 +38,8 @@ struct OHierarchyElement_Impl; typedef std::unordered_map< OUString, ::rtl::Reference< OHierarchyElement_Impl > > OHierarchyElementList_Impl; -typedef ::std::list< css::uno::WeakReference< css::embed::XExtendedStorageStream > > - OWeakStorRefList_Impl; +typedef ::std::vector< css::uno::WeakReference< css::embed::XExtendedStorageStream > > + OWeakStorRefVector_Impl; struct OHierarchyElement_Impl : public cppu::WeakImplHelper< css::embed::XTransactionListener > { @@ -52,7 +51,7 @@ struct OHierarchyElement_Impl : public cppu::WeakImplHelper< css::embed::XTransa OHierarchyElementList_Impl m_aChildren; - OWeakStorRefList_Impl m_aOpenStreams; + OWeakStorRefVector_Impl m_aOpenStreams; public: explicit OHierarchyElement_Impl( const css::uno::Reference< css::embed::XStorage >& xStorage ) |