fix coverity#704768

Change-Id: I6b3403ad1b1f18a4cf32a933bb721f9c6cab44f7
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index 4666cc3..5c2a56e 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -534,9 +534,9 @@ bool SlideSorter::RelocateToWindow (::Window* pParentWindow)
    {
        mpViewShell->ViewShell::RelocateToParentWindow(pParentWindow);
        pNewWindow = mpViewShell->GetParentWindow();
    }
    else
        pNewWindow = NULL;
    }

    SetupControls(pNewWindow);
    SetupListeners();