From c936e5062770ba100c2eddd7889b51d271c6c73c Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Tue, 27 Dec 2011 00:12:38 +0900 Subject: catch exception by constant reference --- stoc/source/security/access_controller.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stoc/source/security/access_controller.cxx') diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx index c51d1399723c..caa4ae97fbf6 100644 --- a/stoc/source/security/access_controller.cxx +++ b/stoc/source/security/access_controller.cxx @@ -845,7 +845,7 @@ PermissionCollection AccessController::getEffectivePermissions( checkAndClearPostPoned(); return ret; } - catch (security::AccessControlException & exc) // wrapped into DeploymentException + catch (const security::AccessControlException & exc) // wrapped into DeploymentException { clearPostPoned(); // safety: exception could have happened before checking postponed? OUStringBuffer buf( 64 ); -- cgit