summaryrefslogtreecommitdiffstats
path: root/extensions/source/propctrlr/eformspropertyhandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/eformspropertyhandler.cxx')
-rw-r--r--extensions/source/propctrlr/eformspropertyhandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx
index 063735450d2b..789d3a85acfa 100644
--- a/extensions/source/propctrlr/eformspropertyhandler.cxx
+++ b/extensions/source/propctrlr/eformspropertyhandler.cxx
@@ -497,7 +497,7 @@ namespace pcr
try
{
Reference< XExecutableDialog > xDialog;
- m_aContext.createComponent( "com.sun.star.xforms.ui.dialogs.AddCondition", xDialog );
+ xDialog.set( m_xContext->getServiceManager()->createInstanceWithContext( "com.sun.star.xforms.ui.dialogs.AddCondition", m_xContext ), UNO_QUERY );
Reference< XPropertySet > xDialogProps( xDialog, UNO_QUERY_THROW );
// the model for the dialog to work with