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/PresenterWindowManager.cxx | |
parent | 1d67ca08da4b206a52e34723551ac331808f7b29 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: I03a8cc8405e1e7ddf75fabd2ba7d85edddf5b30c
Diffstat (limited to 'sdext/source/presenter/PresenterWindowManager.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterWindowManager.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index 9d62d9673c23..863afcf18e47 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -1079,8 +1079,7 @@ void PresenterWindowManager::ProvideBackgroundBitmap() } else { - mxScaledBackgroundBitmap - = Reference<rendering::XBitmap>(xBitmap, UNO_QUERY); + mxScaledBackgroundBitmap.set(xBitmap, UNO_QUERY); } } } @@ -1166,7 +1165,7 @@ void PresenterWindowManager::UpdateWindowList() mxComponentContext, mpPresenterController)); pManager->initialize(aArguments); - mxPaneBorderManager = Reference<XInterface>(static_cast<XWeak*>(pManager.get())); + mxPaneBorderManager.set(static_cast<XWeak*>(pManager.get())); } } catch (RuntimeException&) |