From adfa2049b274a50fe289edf3e7c13d07777f5f3d Mon Sep 17 00:00:00 2001 From: vboxsync Date: Wed, 3 Feb 2010 13:07:12 +0000 Subject: Main: coding style fixes git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@26186 cfe28804-0f27-0410-a406-dd0f0b0b656f --- src/VBox/Main/include/AutoCaller.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/VBox/Main/include/AutoCaller.h') diff --git a/src/VBox/Main/include/AutoCaller.h b/src/VBox/Main/include/AutoCaller.h index 79733fa7ac8..b1490ce187f 100644 --- a/src/VBox/Main/include/AutoCaller.h +++ b/src/VBox/Main/include/AutoCaller.h @@ -89,7 +89,7 @@ public: HRESULT rc() const { return mRC; } /** - * Returns |true| if |SUCCEEDED (rc())| is |true|, for convenience. + * Returns |true| if |SUCCEEDED(rc())| is |true|, for convenience. * |true| means the number of callers was successfully increased. */ bool isOk() const { return SUCCEEDED(mRC); } @@ -244,10 +244,10 @@ typedef AutoCallerBase AutoLimitedCaller; * AutoInitSpan autoInitSpan (this); * AssertReturn (autoInitSpan.isOk(), E_FAIL); * ... - * if (FAILED (rc)) + * if (FAILED(rc)) * return rc; * ... - * if (SUCCEEDED (rc)) + * if (SUCCEEDED(rc)) * autoInitSpan.setSucceeded(); * return rc; * } @@ -340,10 +340,10 @@ private: * AutoReinitSpan autoReinitSpan (this); * AssertReturn (autoReinitSpan.isOk(), E_FAIL); * ... - * if (FAILED (rc)) + * if (FAILED(rc)) * return rc; * ... - * if (SUCCEEDED (rc)) + * if (SUCCEEDED(rc)) * autoReinitSpan.setSucceeded(); * return rc; * } @@ -477,10 +477,10 @@ private: * if (mayUninitSpan.alreadyInProgress()) * return S_OK; * ... - * if (FAILED (rc)) + * if (FAILED(rc)) * return rc; // will go back to Ready * ... - * if (SUCCEEDED (rc)) + * if (SUCCEEDED(rc)) * mayUninitSpan.acceptUninit(); // will call uninit() * return rc; * } -- cgit v1.2.1