summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-16 11:39:38 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-16 11:39:38 +0000
commit96606e84f5564e51e930e967c299485da51ad03f (patch)
tree7346ca4f131760fcdac14d663ce51a0eda5456bc /extensions
parent001db8b38e9accce7412d1d904cc2ed5b0b81883 (diff)
INTEGRATION: CWS rptchart02 (1.3.2); FILE MERGED
2008/04/18 08:57:34 oj 1.3.2.1: #i86850# use of ComponentContext
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/preload/unoautopilot.inl4
-rw-r--r--extensions/source/propctrlr/MasterDetailLinkDialog.cxx4
2 files changed, 4 insertions, 4 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());
}
//--------------------------------------------------------------------------
diff --git a/extensions/source/propctrlr/MasterDetailLinkDialog.cxx b/extensions/source/propctrlr/MasterDetailLinkDialog.cxx
index 5ae314e39c6e..50ee8d9dd0f1 100644
--- a/extensions/source/propctrlr/MasterDetailLinkDialog.cxx
+++ b/extensions/source/propctrlr/MasterDetailLinkDialog.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: MasterDetailLinkDialog.cxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -117,7 +117,7 @@ namespace pcr
//--------------------------------------------------------------------------
Dialog* MasterDetailLinkDialog::createDialog(Window* _pParent)
{
- return new FormLinkDialog(_pParent,m_xDetail,m_xMaster,Reference< XMultiServiceFactory >( m_xContext->getServiceManager(),UNO_QUERY)
+ return new FormLinkDialog(_pParent,m_xDetail,m_xMaster,m_aContext.getLegacyServiceFactory()
,m_sExplanation,m_sDetailLabel,m_sMasterLabel);
}
//---------------------------------------------------------------------