summaryrefslogtreecommitdiff
path: root/stoc/source/inspect/introspection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/inspect/introspection.cxx')
-rw-r--r--stoc/source/inspect/introspection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index b5cebfd268d5..58434b2f51ea 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -1438,7 +1438,7 @@ struct TypeKey {
// the chance of matches between different implementations' getTypes(),
// but the old scheme of using getImplementationId() would have missed
// those matches, too:
- OUStringBuffer b;
+ OUStringBuffer b(static_cast<int>(theTypes.size() * 64));
for (const css::uno::Type& rType : theTypes) {
b.append(rType.getTypeName());
b.append('*'); // arbitrary delimiter not used by type grammar