summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/SdUnoSlideView.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-19 22:37:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 11:01:38 +0100
commit5cbd9a7be2ee05499bd730f2e7bd8b35ce881217 (patch)
tree7c52e5d1a5324ae9ffe0e75dd525582ba30994d8 /sd/source/ui/unoidl/SdUnoSlideView.cxx
parent5c867b59668dd9144cab863c9e7593c85fc73609 (diff)
catch by const reference
Diffstat (limited to 'sd/source/ui/unoidl/SdUnoSlideView.cxx')
-rw-r--r--sd/source/ui/unoidl/SdUnoSlideView.cxx2
1 files changed, 1 insertions, 1 deletions
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&)
{
}
}