[Libreoffice-commits] core.git: framework/source

Noel Grandin noel at peralex.com
Wed May 22 06:47:15 PDT 2013


 framework/source/dispatch/closedispatcher.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9fa7dd98ccf91a2862f4c61d5d94aff2a1bbe4bf
Author: Noel Grandin <noel at peralex.com>
Date:   Wed May 22 15:46:15 2013 +0200

    fix Mac build
    
    Change-Id: I7870cabf5a241d5255f0b2a6cf995c17b664fd27

diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index 2ff7916..6a87dfb 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -388,7 +388,7 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback)
         // get quickstart service
         try
         {
-            css::uno::Reference< css::beans::XFastPropertySet > xSet( xSMGR->createInstance(IMPLEMENTATIONNAME_QUICKLAUNCHER), css::uno::UNO_QUERY_THROW );
+            css::uno::Reference< css::beans::XFastPropertySet > xSet( xContext->getServiceManager()->createInstanceWithContext(IMPLEMENTATIONNAME_QUICKLAUNCHER, xContext), css::uno::UNO_QUERY_THROW );
             if( xSet.is() )
             {
                 css::uno::Any aVal( xSet->getFastPropertyValue( 0 ) );


More information about the Libreoffice-commits mailing list