summaryrefslogtreecommitdiff
path: root/basic/source/classes/propacc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/classes/propacc.cxx')
-rw-r--r--basic/source/classes/propacc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index 2a0b49af8eed..ae2cdb2fc78e 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -216,7 +216,7 @@ void RTL_Impl_CreatePropertySet( StarBASIC* pBasic, SbxArray& rPar, bool bWrite
cppu::UnoType<Sequence<PropertyValue>>::get() );
Sequence<PropertyValue> const *pArg =
static_cast<Sequence<PropertyValue> const *>(aArgAsAny.getValue());
- Reference< XPropertyAccess > xPropAcc = Reference< XPropertyAccess >::query( xInterface );
+ Reference< XPropertyAccess > xPropAcc( xInterface, UNO_QUERY );
xPropAcc->setPropertyValues( *pArg );
// Build a SbUnoObject and return it