diff options
Diffstat (limited to 'filter/source/config/cache/frameloaderfactory.cxx')
-rw-r--r-- | filter/source/config/cache/frameloaderfactory.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/filter/source/config/cache/frameloaderfactory.cxx b/filter/source/config/cache/frameloaderfactory.cxx index d14188851f3b..320a9918be57 100644 --- a/filter/source/config/cache/frameloaderfactory.cxx +++ b/filter/source/config/cache/frameloaderfactory.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/lang/XInitialization.hpp> #include <comphelper/enumhelper.hxx> #include <comphelper/processfactory.hxx> +#include <comphelper/sequence.hxx> namespace filter{ @@ -121,13 +122,10 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createI css::uno::Sequence< css::beans::PropertyValue > lConfig; aLoader >> lConfig; - ::comphelper::SequenceAsVector< css::uno::Any > stlArguments(lArguments); + ::std::vector< css::uno::Any > stlArguments(comphelper::sequenceToContainer<::std::vector<css::uno::Any> >(lArguments)); stlArguments.insert(stlArguments.begin(), css::uno::makeAny(lConfig)); - css::uno::Sequence< css::uno::Any > lInitData; - stlArguments >> lInitData; - - xInit->initialize(lInitData); + xInit->initialize(comphelper::containerToSequence(stlArguments)); } return xLoader; |