[Libreoffice-commits] core.git: sd/source

Tor Lillqvist tlillqvist at suse.com
Mon May 20 06:20:14 PDT 2013


 sd/source/ui/sidebar/LayoutMenu.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit f247b4351a777fa4600a2b6e3795988800cb908e
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Mon May 20 16:16:32 2013 +0300

    WaE: unreachable code
    
    Change-Id: I34414abe0375e003249ba271b24530f13016fa40

diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx
index 631635d..9aa5955 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;


More information about the Libreoffice-commits mailing list