summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-09 17:11:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-09 17:11:11 +0000
commit5e217d65e072158e82dd7525c075bbccfdce5902 (patch)
treee62db030e37d474aabfa1ab75bdbc5f071ae7961
parent7c76db3c88d5fa27776c7c5efa04249a6a7ed559 (diff)
WaE: C4702: unreachable code
regression from... commit 31bc9a228ed02dfa082e3a59c20b0ce106d5c75c Date: Sat Jan 9 03:09:49 2016 +0530 tdf#96888 Kill internal vcl dog-tags ... Change-Id: I3fb375701cd1f8d8d0ea7f8a22b727881eaf90eb
-rw-r--r--vcl/source/window/menu.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 29fd6b9e4580..c29ffda0b521 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -3138,9 +3138,7 @@ sal_uInt16 PopupMenu::ImplExecute( const VclPtr<vcl::Window>& pW, const Rectangl
if( ! pW->IsDisposed() )
pW->ImplDecModalCount();
- if ( !pWin->IsDisposed() )
- return 0;
- else
+ if ( pWin->IsDisposed() )
return 0;
// Restore focus (could already have been