summaryrefslogtreecommitdiff
path: root/oox/source/docprop/ooxmldocpropimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/docprop/ooxmldocpropimport.cxx')
-rw-r--r--oox/source/docprop/ooxmldocpropimport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/docprop/ooxmldocpropimport.cxx b/oox/source/docprop/ooxmldocpropimport.cxx
index 638c7a0aa978..8bd24bdc9e08 100644
--- a/oox/source/docprop/ooxmldocpropimport.cxx
+++ b/oox/source/docprop/ooxmldocpropimport.cxx
@@ -91,7 +91,7 @@ Sequence< InputSource > lclGetRelatedStreams( const Reference< XStorage >& rxSto
Reference< XInputStream > xInStream = xExtStream->getInputStream();
if( xInStream.is() )
{
- aResult.resize( aResult.size() + 1 );
+ aResult.emplace_back();
aResult.back().sSystemId = rEntry.Second;
aResult.back().aInputStream = xExtStream->getInputStream();
}