From b35c0ae4ffce43b881d66efe74a19f1bf6299331 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Mon, 9 Jan 2012 03:16:33 +0900 Subject: catch exception by constant reference --- vcl/aqua/source/a11y/aqua11yfocuslistener.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/aqua') diff --git a/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx b/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx index 0b2fe1902ed9..62dc7900939c 100644 --- a/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx +++ b/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx @@ -68,7 +68,7 @@ id AquaA11yFocusListener::getFocusedUIElement() if( xContext.is() ) m_focusedObject = [ AquaA11yFactory wrapperForAccessibleContext: xContext ]; } - } catch( RuntimeException ) { + } catch(const RuntimeException &) { // intentionally do nothing .. } } @@ -95,7 +95,7 @@ AquaA11yFocusListener::focusedObjectChanged(const Reference< XAccessible >& xAcc NSAccessibilityPostNotification(m_focusedObject, NSAccessibilityFocusedUIElementChangedNotification); } } - } catch( RuntimeException ) { + } catch(const RuntimeException &) { // intentionally do nothing .. } } -- cgit