[Libreoffice-commits] .: bf_forms/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 23 04:07:08 PDT 2012


 bf_forms/source/misc/forms_InterfaceContainer.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 5945161bdfa46e76ca911fea2dc937f9fe95b074
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 23 13:04:45 2012 +0200

    fdo#46808: Adapt to core beans::Introspection changes

diff --git a/bf_forms/source/misc/forms_InterfaceContainer.cxx b/bf_forms/source/misc/forms_InterfaceContainer.cxx
index 766a064..b08b581 100644
--- a/bf_forms/source/misc/forms_InterfaceContainer.cxx
+++ b/bf_forms/source/misc/forms_InterfaceContainer.cxx
@@ -21,6 +21,7 @@
 
 #include <comphelper/eventattachermgr.hxx>
 #include <comphelper/enumhelper.hxx>
+#include <comphelper/processfactory.hxx>
 #include <comphelper/property.hxx>
 #include <comphelper/container.hxx>
 
@@ -87,7 +88,7 @@ OInterfaceContainer::OInterfaceContainer(
         ,m_aElementType(_rElementType)
         ,m_xServiceFactory(_rxFactory)
 {
-    m_xEventAttacher = ::comphelper::createEventAttacherManager(m_xServiceFactory);
+    m_xEventAttacher = ::comphelper::createEventAttacherManager(comphelper::getComponentContext(m_xServiceFactory));
 }
 
 //------------------------------------------------------------------------------
@@ -432,7 +433,7 @@ void SAL_CALL OInterfaceContainer::read( const Reference< XObjectInputStream >&
         readEvents(_rxInStream);
     }
     else
-        m_xEventAttacher = ::comphelper::createEventAttacherManager( m_xServiceFactory );
+        m_xEventAttacher = ::comphelper::createEventAttacherManager( comphelper::getComponentContext(m_xServiceFactory) );
 }
 
 // XContainer


More information about the Libreoffice-commits mailing list