summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-12 10:17:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-12 11:02:15 +0000
commit50d20866aa90150680e6d39998081fc148638c73 (patch)
tree3e7e1e124d8a3168df1d2ccaecaa709fce0edea5 /sd
parent40ad078ffb84872c9771922c2bef23fed4416bcf (diff)
fix coverity#704768
Change-Id: I6b3403ad1b1f18a4cf32a933bb721f9c6cab44f7
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx2
1 files changed, 1 insertions, 1 deletions
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();