diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-04 15:36:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 07:41:29 +0200 |
commit | 1d67ca08da4b206a52e34723551ac331808f7b29 (patch) | |
tree | 71637f3ee66499ee1d70362fc26fb6dfb52e5d9b /sd/source/ui/sidebar/MasterPageContainer.cxx | |
parent | 0eb9f56db5dad711f12283d097e1d56a801ba526 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: Ib224c60d3e5afc968bf4ef5ff58c3a71893b811c
Diffstat (limited to 'sd/source/ui/sidebar/MasterPageContainer.cxx')
-rw-r--r-- | sd/source/ui/sidebar/MasterPageContainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx index 897d95ae882a..71121d38352e 100644 --- a/sd/source/ui/sidebar/MasterPageContainer.cxx +++ b/sd/source/ui/sidebar/MasterPageContainer.cxx @@ -842,7 +842,7 @@ Reference<frame::XModel> MasterPageContainer::Implementation::GetModel() // Create a new model. OUString sModelServiceName ( "com.sun.star.presentation.PresentationDocument"); - mxModel = uno::Reference<frame::XModel>( + mxModel.set( ::comphelper::getProcessServiceFactory()->createInstance( sModelServiceName), uno::UNO_QUERY); |