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/annotations | |
parent | 0eb9f56db5dad711f12283d097e1d56a801ba526 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: Ib224c60d3e5afc968bf4ef5ff58c3a71893b811c
Diffstat (limited to 'sd/source/ui/annotations')
-rw-r--r-- | sd/source/ui/annotations/annotationmanager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index a860daec3032..0c08e33328d6 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -185,7 +185,7 @@ void AnnotationManagerImpl::init() try { addListener(); - mxView = Reference< XDrawView >::query(mrBase.GetController()); + mxView.set(mrBase.GetController(), UNO_QUERY); } catch( Exception& ) { @@ -893,7 +893,7 @@ IMPL_LINK_TYPED(AnnotationManagerImpl,EventMultiplexerListener, break; case tools::EventMultiplexerEvent::EID_MAIN_VIEW_ADDED: - mxView = Reference<XDrawView>::query( mrBase.GetController() ); + mxView.set( mrBase.GetController(), UNO_QUERY ); onSelectionChanged(); break; } |