summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/streaming/memorystream.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx
index b8ff86e03b17..a7612bf67b07 100644
--- a/comphelper/source/streaming/memorystream.cxx
+++ b/comphelper/source/streaming/memorystream.cxx
@@ -91,6 +91,7 @@ private:
UNOMemoryStream::UNOMemoryStream()
: mnCursor(0)
{
+ maData.reserve(1 * 1024 * 1024);
}
// XServiceInfo