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/cache/SlsQueueProcessor.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx') diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx index b503363c64a8..44ce6c5f2124 100644 --- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx +++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx @@ -221,14 +221,12 @@ void QueueProcessor::ProcessOneRequest ( } } } - catch (::com::sun::star::uno::RuntimeException &aException) + catch (::com::sun::star::uno::RuntimeException &) { - (void) aException; OSL_FAIL("RuntimeException caught in QueueProcessor"); } - catch (::com::sun::star::uno::Exception &aException) + catch (::com::sun::star::uno::Exception &) { - (void) aException; OSL_FAIL("Exception caught in QueueProcessor"); } } -- cgit