summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-02-27 20:43:28 +0100
committerMichael Stahl <mstahl@redhat.com>2012-02-27 20:45:05 +0100
commit7c7d5c0eec4efb95d18b735fb9df4754ba9d8b1f (patch)
tree96a0fc55a0ac91350f63a8c26e7436c40bbff36c
parenta2db9f4d46080e7ea6bd045dd8d3a87612ee49ec (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...
-rw-r--r--svl/source/inc/poolio.hxx2
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;