summaryrefslogtreecommitdiff
path: root/extensions/source/preload/unoautopilot.inl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/preload/unoautopilot.inl')
-rw-r--r--extensions/source/preload/unoautopilot.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/preload/unoautopilot.inl b/extensions/source/preload/unoautopilot.inl
index d2ff02afab40..79f0e7067032 100644
--- a/extensions/source/preload/unoautopilot.inl
+++ b/extensions/source/preload/unoautopilot.inl
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: unoautopilot.inl,v $
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -116,7 +116,7 @@ template <class TYPE, class SERVICEINFO>
template <class TYPE, class SERVICEINFO>
Dialog* OUnoAutoPilot<TYPE, SERVICEINFO>::createDialog(Window* _pParent)
{
- return new TYPE(_pParent, m_xObjectModel, m_xORB);
+ return new TYPE(_pParent, m_xObjectModel, m_aContext.getLegacyServiceFactory());
}
//--------------------------------------------------------------------------