From 5cbd9a7be2ee05499bd730f2e7bd8b35ce881217 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 19 Jun 2011 22:37:12 +0100 Subject: catch by const reference --- sd/source/ui/unoidl/SdUnoSlideView.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui/unoidl/SdUnoSlideView.cxx') diff --git a/sd/source/ui/unoidl/SdUnoSlideView.cxx b/sd/source/ui/unoidl/SdUnoSlideView.cxx index 59564ef71985..a4c58c7be005 100644 --- a/sd/source/ui/unoidl/SdUnoSlideView.cxx +++ b/sd/source/ui/unoidl/SdUnoSlideView.cxx @@ -100,7 +100,7 @@ sal_Bool SAL_CALL SdUnoSlideView::select (const Any& aSelection) nPageNumber -=1; // Transform 1-based page numbers to 0-based ones. rSelector.SelectPage(nPageNumber); } - catch(RuntimeException e) + catch (const RuntimeException&) { } } -- cgit