diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-02-27 20:43:28 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-02-27 20:45:05 +0100 |
commit | 7c7d5c0eec4efb95d18b735fb9df4754ba9d8b1f (patch) | |
tree | 96a0fc55a0ac91350f63a8c26e7436c40bbff36c /svl | |
parent | a2db9f4d46080e7ea6bd045dd8d3a87612ee49ec (diff) |
SfxItemPool: replace deque with vector for SfxPoolItem array
Yields measurable speedup on load/store of large documents, wonder where
the equivalent patch i committed long time ago to OOo went...
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/inc/poolio.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx index 15f55eebdb72..7c2cfc6ca9dc 100644 --- a/svl/source/inc/poolio.hxx +++ b/svl/source/inc/poolio.hxx @@ -56,7 +56,7 @@ struct SfxPoolVersion_Impl {} }; -typedef std::deque<SfxPoolItem*> SfxPoolItemArrayBase_Impl; +typedef std::vector<SfxPoolItem*> SfxPoolItemArrayBase_Impl; typedef boost::shared_ptr< SfxPoolVersion_Impl > SfxPoolVersion_ImplPtr; typedef std::deque< SfxPoolVersion_ImplPtr > SfxPoolVersionArr_Impl; |