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/view/outlnvsh.cxx | |
parent | 0eb9f56db5dad711f12283d097e1d56a801ba526 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: Ib224c60d3e5afc968bf4ef5ff58c3a71893b811c
Diffstat (limited to 'sd/source/ui/view/outlnvsh.cxx')
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index 88d743db6671..fa085c06dd94 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -175,9 +175,7 @@ Reference<drawing::XDrawSubController> OutlineViewShell::CreateSubController() if (IsMainViewShell()) { // Create uno sub controller for the main view shell. - xSubController = Reference<drawing::XDrawSubController>( - new SdUnoOutlineView ( - *this)); + xSubController.set( new SdUnoOutlineView(*this) ); } return xSubController; |