diff options
Diffstat (limited to 'sdext/source/presenter/PresenterTimer.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterTimer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx index 7fded7c12cf7..27339f70eb90 100644 --- a/sdext/source/presenter/PresenterTimer.cxx +++ b/sdext/source/presenter/PresenterTimer.cxx @@ -368,7 +368,7 @@ TimerTask::TimerTask ( } if ( ! pTimer.is()) { - pTimer = ::rtl::Reference<PresenterClockTimer>(new PresenterClockTimer(rxContext)); + pTimer.set(new PresenterClockTimer(rxContext)); mpInstance = pTimer; } return pTimer; @@ -385,7 +385,7 @@ PresenterClockTimer::PresenterClockTimer (const Reference<XComponentContext>& rx Reference<lang::XMultiComponentFactory> xFactory ( rxContext->getServiceManager(), UNO_QUERY); if (xFactory.is()) - mxRequestCallback = Reference<awt::XRequestCallback>( + mxRequestCallback.set( xFactory->createInstanceWithContext( "com.sun.star.awt.AsyncCallback", rxContext), |