Kaydet (Commit) 40ad078f authored tarafından Caolán McNamara's avatar Caolán McNamara

fix coverity#704768

Change-Id: Ifa33288c01d9b1f8f578db5b4a0f5f03ab5ceaad
üst d689dad8
......@@ -529,18 +529,16 @@ bool SlideSorter::RelocateToWindow (::Window* pParentWindow)
ReleaseListeners();
Window *pParentWindow;
::Window *pNewWindow = NULL;
if (mpViewShell)
{
mpViewShell->ViewShell::RelocateToParentWindow(pParentWindow);
pParentWindow = mpViewShell->GetParentWindow();
}
pNewWindow = mpViewShell->GetParentWindow();
else
{
pParentWindow = NULL;
pNewWindow = NULL;
}
SetupControls(pParentWindow);
SetupControls(pNewWindow);
SetupListeners();
// For accessibility we have to shortly hide the content window. This
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment