diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-19 22:37:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 11:01:38 +0100 |
commit | 5cbd9a7be2ee05499bd730f2e7bd8b35ce881217 (patch) | |
tree | 7c52e5d1a5324ae9ffe0e75dd525582ba30994d8 /sd/source/ui/accessibility | |
parent | 5c867b59668dd9144cab863c9e7593c85fc73609 (diff) |
catch by const reference
Diffstat (limited to 'sd/source/ui/accessibility')
-rw-r--r-- | sd/source/ui/accessibility/AccessiblePageShape.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/accessibility/AccessiblePageShape.cxx b/sd/source/ui/accessibility/AccessiblePageShape.cxx index 574b4a90d27a..031cc1a95d25 100644 --- a/sd/source/ui/accessibility/AccessiblePageShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx @@ -200,7 +200,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getForeground (void) aColor >>= nColor; } } - catch (::com::sun::star::beans::UnknownPropertyException) + catch (const ::com::sun::star::beans::UnknownPropertyException&) { // Ignore exception and return default color. } @@ -254,7 +254,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void) OSL_TRACE ("no Background property in page"); } } - catch (::com::sun::star::beans::UnknownPropertyException) + catch (const ::com::sun::star::beans::UnknownPropertyException&) { OSL_TRACE ("caught excption due to unknown property"); // Ignore exception and return default color. @@ -351,7 +351,7 @@ void AccessiblePageShape::dispose (void) xPageProperties->getPropertyValue(A2S("LinkDisplayName")) >>= sCurrentSlideName; } } - catch (beans::UnknownPropertyException&) + catch (const beans::UnknownPropertyException&) { } |