catch exception by constant reference

This commit is contained in:
Takeshi Abe
2011-12-27 00:12:38 +09:00
parent 1d55be9164
commit c936e50627
25 changed files with 50 additions and 50 deletions

View File

@@ -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 );