diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slideshow/slideshowviewimpl.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx index 032345b5491c..5a1cffb12ae7 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.cxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx @@ -21,6 +21,7 @@ #include <slideshowimpl.hxx> #include <osl/mutex.hxx> +#include <com/sun/star/awt/Pointer.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <basegfx/polygon/b2dpolygon.hxx> @@ -657,9 +658,7 @@ void SlideShowView::init() Reference< lang::XMultiServiceFactory > xFactory( ::comphelper::getProcessServiceFactory(), uno::UNO_QUERY_THROW ); - if( xFactory.is() ) - mxPointer.set( xFactory->createInstance( "com.sun.star.awt.Pointer" ), - uno::UNO_QUERY ); + mxPointer = awt::Pointer::create( ::comphelper::getProcessComponentContext() ); getTransformation(); |