summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-04-25 11:02:24 +0200
committerNoel Grandin <noel@peralex.com>2013-04-25 11:03:15 +0200
commit746784e16f31133e4dc4e062fa5b7f1620e8cda6 (patch)
treea5cd6a24db5fbc390d50c1ab502c81f05fc388aa /sd/source
parente894e57aabceb0b2ccd69d129b5223e2a28596fa (diff)
fdo#46808 Convert awt::Pointer to new style
Change-Id: Ic2ff491e656ab7bcf0bd5994b601818a26478243
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/slideshow/slideshowviewimpl.cxx5
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();