diff options
Diffstat (limited to 'sd/source/ui/slidesorter/shell/SlideSorter.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/shell/SlideSorter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx index 78dd6be59b5e..90698a2a73cd 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx @@ -168,7 +168,7 @@ void SlideSorter::Init() SetupListeners (); // Initialize the window. - sd::Window *pContentWindow (GetContentWindow()); + sd::Window *pContentWindow = GetContentWindow().get(); if (pContentWindow) { vcl::Window* pParentWindow = pContentWindow->GetParent(); @@ -249,7 +249,7 @@ void SlideSorter::SetupControls (vcl::Window* ) void SlideSorter::SetupListeners() { - sd::Window *pWindow (GetContentWindow()); + sd::Window *pWindow = GetContentWindow().get(); if (pWindow) { vcl::Window* pParentWindow = pWindow->GetParent(); @@ -278,7 +278,7 @@ void SlideSorter::ReleaseListeners() { mpSlideSorterController->GetScrollBarManager().Disconnect(); - sd::Window *pWindow (GetContentWindow()); + sd::Window *pWindow (GetContentWindow().get()); if (pWindow) { pWindow->RemoveEventListener( |