summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2013-05-20 16:16:32 +0300
committerTor Lillqvist <tlillqvist@suse.com>2013-05-20 16:17:48 +0300
commitf247b4351a777fa4600a2b6e3795988800cb908e (patch)
treea985c22385e755a5160f91dbb5925339c4cee326 /sd/source
parente913d2865521c56b15d22d42d24191c5d19e6ca4 (diff)
WaE: unreachable code
Change-Id: I34414abe0375e003249ba271b24530f13016fa40
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/sidebar/LayoutMenu.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx
index 631635df7ebe..9aa5955b0d11 100644
--- a/sd/source/ui/sidebar/LayoutMenu.cxx
+++ b/sd/source/ui/sidebar/LayoutMenu.cxx
@@ -880,13 +880,6 @@ IMPL_LINK(LayoutMenu, WindowEventHandler, VclWindowEvent*, pEvent)
default:
return sal_False;
}
-
- const SfxSimpleHint* pSimpleHint = PTR_CAST(SfxSimpleHint, pEvent);
- if (pSimpleHint != NULL
- && pSimpleHint->GetId() == SFX_HINT_DYING)
- {
- return sal_True;
- }
}
return sal_False;