From 8cc98837d30d818fe3a2e4063798c7451044eb9c Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sun, 25 Dec 2011 15:08:11 +0900 Subject: catch exception by constant reference --- sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx') diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx index 4ef5cf62b5db..22beaae0df9b 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx @@ -165,9 +165,8 @@ SlideSorterViewShell::~SlideSorterViewShell (void) xComponent->dispose(); } } - catch( ::com::sun::star::uno::Exception& e ) + catch( ::com::sun::star::uno::Exception& ) { - (void)e; OSL_FAIL("sd::SlideSorterViewShell::~SlideSorterViewShell(), exception caught!" ); } GetFrameView()->Disconnect(); -- cgit