summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/configuration.hxx4
-rw-r--r--include/comphelper/namedvaluecollection.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/comphelper/configuration.hxx b/include/comphelper/configuration.hxx
index 622c65e95e52..3b8f8f1f7e93 100644
--- a/include/comphelper/configuration.hxx
+++ b/include/comphelper/configuration.hxx
@@ -140,7 +140,7 @@ private:
/// @internal
template< typename T > struct Convert {
static css::uno::Any toAny(T const & value)
- { return css::uno::makeAny(value); }
+ { return css::uno::Any(value); }
static T fromAny(css::uno::Any const & value)
{ return value.get< T >(); }
@@ -158,7 +158,7 @@ template< typename T > struct Convert< std::optional< T > >
{
static css::uno::Any toAny(std::optional< T > const & value) {
return value
- ? css::uno::makeAny(*value)
+ ? css::uno::Any(*value)
: css::uno::Any();
}
diff --git a/include/comphelper/namedvaluecollection.hxx b/include/comphelper/namedvaluecollection.hxx
index 21c4bef31d24..33b786437d15 100644
--- a/include/comphelper/namedvaluecollection.hxx
+++ b/include/comphelper/namedvaluecollection.hxx
@@ -181,7 +181,7 @@ namespace comphelper
template < typename VALUE_TYPE >
bool put( const OUString& _rValueName, const VALUE_TYPE& _rValue )
{
- return impl_put( _rValueName, css::uno::makeAny( _rValue ) );
+ return impl_put( _rValueName, css::uno::Any( _rValue ) );
}
bool put( const OUString& _rValueName, const css::uno::Any& _rValue )
@@ -280,7 +280,7 @@ namespace comphelper
const VALUE_TYPE* pV = aValues.getConstArray();
const sal_Int32 nLen = aValues.getLength();
for( sal_Int32 i = 0; i < nLen; ++i )
- *(pO++) = css::uno::makeAny<VALUE_TYPE>( *(pV++) );
+ *(pO++) = css::uno::Any( *(pV++) );
return aWrappedValues;
}