summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/paramwrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/paramwrapper.cxx')
-rw-r--r--connectivity/source/commontools/paramwrapper.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/commontools/paramwrapper.cxx b/connectivity/source/commontools/paramwrapper.cxx
index 54b381b72bb7..aae53c2d2a0f 100644
--- a/connectivity/source/commontools/paramwrapper.cxx
+++ b/connectivity/source/commontools/paramwrapper.cxx
@@ -131,7 +131,8 @@ namespace param
OUString ParameterWrapper::impl_getPseudoAggregatePropertyName( sal_Int32 _nHandle ) const
{
Reference< XPropertySetInfo > xInfo = const_cast<ParameterWrapper*>( this )->getPropertySetInfo();
- for ( const Property& rProperty : xInfo->getProperties() )
+ const css::uno::Sequence<Property> aProperties = xInfo->getProperties();
+ for ( const Property& rProperty : aProperties )
{
if ( rProperty.Handle == _nHandle )
return rProperty.Name;