diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-04 16:00:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 07:41:29 +0200 |
commit | 06302bb3d1969c4b8a204b6fdc9b15d052861134 (patch) | |
tree | d02f5bb63b3497b42fe25465706f4a8113c84d1b /sdext/source/presenter/PresenterTimer.cxx | |
parent | use uno::Reference::set method instead of assignment (diff) | |
download | core-06302bb3d1969c4b8a204b6fdc9b15d052861134.tar.gz core-06302bb3d1969c4b8a204b6fdc9b15d052861134.zip |
use uno::Reference::set method instead of assignment
Change-Id: I03a8cc8405e1e7ddf75fabd2ba7d85edddf5b30c
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), |