summaryrefslogtreecommitdiff
path: root/xmloff/source/transform/OOo2Oasis.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/transform/OOo2Oasis.cxx')
-rw-r--r--xmloff/source/transform/OOo2Oasis.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx
index 2a853c430646..2433d1ed8d54 100644
--- a/xmloff/source/transform/OOo2Oasis.cxx
+++ b/xmloff/source/transform/OOo2Oasis.cxx
@@ -1931,8 +1931,9 @@ void OOo2OasisTransformer::Initialize(
if (xFilter.is())
{
Sequence<Any> aArgs( 1 + rArguments.getLength() );
- aArgs[0] <<= xFilter;
- std::copy(rArguments.begin(), rArguments.end(), std::next(aArgs.getArray()));
+ auto pArgs = aArgs.getArray();
+ pArgs[0] <<= xFilter;
+ std::copy(rArguments.begin(), rArguments.end(), std::next(pArgs));
XMLTransformerBase::initialize( aArgs );
OSL_ENSURE( GetDocHandler() == xFilter,