diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-28 15:44:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-29 10:54:23 +0200 |
commit | e76b00978187486876cdc2adde14ef5043b2a9b0 (patch) | |
tree | 2a84ad1a4c7ac2a366b731a0e0bf8aea12f222f6 /include | |
parent | 31f12941635f52d34497b9af1361c0e81906762d (diff) |
sequence->vector in OInteractionRequest
Change-Id: I995cb96e514e1aaa05a96f29344ef51e4ca83c64
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/interaction.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/comphelper/interaction.hxx b/include/comphelper/interaction.hxx index f0d9683bfbbc..3ec18f893019 100644 --- a/include/comphelper/interaction.hxx +++ b/include/comphelper/interaction.hxx @@ -29,6 +29,7 @@ #include <com/sun/star/task/XInteractionPassword.hpp> #include <com/sun/star/task/XInteractionRequest.hpp> #include <comphelper/comphelperdllapi.h> +#include <vector> namespace comphelper @@ -38,8 +39,8 @@ namespace comphelper //= OInteraction - /** template for instantiating concret interaction handlers<p/> - the template argument must eb an interface derived from XInteractionContinuation + /** template for instantiating concrete interaction handlers<p/> + the template argument must be an interface derived from XInteractionContinuation */ template <class INTERACTION> class OInteraction @@ -119,13 +120,13 @@ namespace comphelper { css::uno::Any m_aRequest; /// the request we represent - css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > + std::vector< css::uno::Reference< css::task::XInteractionContinuation > > m_aContinuations; /// all registered continuations public: OInteractionRequest(const css::uno::Any& _rRequestDescription); OInteractionRequest(const css::uno::Any& rRequestDescription, - css::uno::Sequence<css::uno::Reference<css::task::XInteractionContinuation>> const& rContinuations); + std::vector<css::uno::Reference<css::task::XInteractionContinuation>> const& rContinuations); /// add a new continuation void addContinuation(const css::uno::Reference< css::task::XInteractionContinuation >& _rxContinuation); |