summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility
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/accessibility
parent5c867b59668dd9144cab863c9e7593c85fc73609 (diff)
catch by const reference
Diffstat (limited to 'sd/source/ui/accessibility')
-rw-r--r--sd/source/ui/accessibility/AccessiblePageShape.cxx6
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&)
{
}