diff options
Diffstat (limited to 'include/comphelper/sequence.hxx')
-rw-r--r-- | include/comphelper/sequence.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/comphelper/sequence.hxx b/include/comphelper/sequence.hxx index f09ff1c67af1..fcaab6b48c78 100644 --- a/include/comphelper/sequence.hxx +++ b/include/comphelper/sequence.hxx @@ -198,10 +198,9 @@ namespace comphelper template <class TYPE> inline ::com::sun::star::uno::Any OSequenceIterator<TYPE>::nextElement() { - return ::com::sun::star::uno::makeAny(*m_pCurrent++); + return ::com::sun::star::uno::toAny(*m_pCurrent++); } - /** Copy from a plain C/C++ array into a Sequence. @tpl SrcType |