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