From 50d20866aa90150680e6d39998081fc148638c73 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Mar 2014 10:17:50 +0000 Subject: fix coverity#704768 Change-Id: I6b3403ad1b1f18a4cf32a933bb721f9c6cab44f7 --- sd/source/ui/slidesorter/shell/SlideSorter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx index 4666cc3e56b2..5c2a56e4b502 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(); -- cgit