Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: installer/src/custom-action/abp_ca.cpp

Issue 4834063596650496: Issue #1185 - Formatting for sources in 'installer-ca' (Closed)
Patch Set: nit fix Created Oct. 13, 2015, 7:15 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | installer/src/custom-action/close_application.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: installer/src/custom-action/abp_ca.cpp
===================================================================
--- a/installer/src/custom-action/abp_ca.cpp
+++ b/installer/src/custom-action/abp_ca.cpp
@@ -22,20 +22,20 @@
extern "C" BOOL WINAPI DllMain(
IN HINSTANCE moduleHandle,
IN ULONG reason,
- IN LPVOID reserved )
+ IN LPVOID reserved)
{
/*
* Because this is an external API, we must ensure that there is a catch-all block for each execution path. There are two of these below.
*/
- switch ( reason )
+ switch (reason)
{
case DLL_PROCESS_ATTACH:
try
{
- DllModule::Attach( moduleHandle );
+ DllModule::Attach(moduleHandle);
return TRUE;
}
- catch(...)
+ catch (...)
{
// We can't log to the installation log yet, and this couldn't shouldn't be executed except in rare cases such as out-of-memory.
// Since it's a lot of code to do something useful (such as logging to the Windows system event log), we don't do anything but return a failure.
@@ -49,7 +49,7 @@
DllModule::Detach();
return TRUE;
}
- catch(...)
+ catch (...)
{
// See comment above in parallel catch-block.
return FALSE;
« no previous file with comments | « no previous file | installer/src/custom-action/close_application.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld