diff options
Diffstat (limited to 'include/vbahelper')
-rw-r--r-- | include/vbahelper/vbacollectionimpl.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index c6a0b85aee75..7b3af3e55511 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -167,7 +167,7 @@ private: virtual css::uno::Any SAL_CALL nextElement( ) override { if ( hasMoreElements() ) - return css::uno::makeAny( *mIt++ ); + return css::uno::Any( *mIt++ ); throw css::container::NoSuchElementException(); } }; @@ -184,7 +184,7 @@ public: { if ( !hasByName(aName) ) throw css::container::NoSuchElementException(); - return css::uno::makeAny( *cachePos ); + return css::uno::Any( *cachePos ); } virtual css::uno::Sequence< OUString > SAL_CALL getElementNames( ) override { @@ -220,7 +220,7 @@ public: if ( Index < 0 || Index >= getCount() ) throw css::lang::IndexOutOfBoundsException(); - return css::uno::makeAny( mXNamedVec[ Index ] ); + return css::uno::Any( mXNamedVec[ Index ] ); } // XEnumerationAccess |