From 8a16f665b1172ed505bf17f9b30ffde8abc3b861 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 3 Feb 2017 11:14:52 +0200 Subject: makeAny->Any in canvas..configmgr Change-Id: Id06812595f373cd0da8b421dbac34a60a266ae6e Reviewed-on: https://gerrit.libreoffice.org/33869 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/property/propagg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper/source/property') diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx index 35c6a5f9f917..2a7dd2d52537 100644 --- a/comphelper/source/property/propagg.cxx +++ b/comphelper/source/property/propagg.cxx @@ -623,7 +623,7 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues( { OPropertyArrayAggregationHelper::PropertyOrigin ePropOrg = rPH.classifyProperty( *pNames ); if ( OPropertyArrayAggregationHelper::PropertyOrigin::Unknown == ePropOrg ) - throw WrappedTargetException( OUString(), static_cast< XMultiPropertySet* >( this ), makeAny( UnknownPropertyException( ) ) ); + throw WrappedTargetException( OUString(), static_cast< XMultiPropertySet* >( this ), Any( UnknownPropertyException( ) ) ); // due to a flaw in the API design, this method is not allowed to throw an UnknownPropertyException // so we wrap it into a WrappedTargetException -- cgit