mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 801803: Followup to convert 2 more call sites r=me
This commit is contained in:
parent
7594ec1116
commit
428c858534
@ -24,7 +24,7 @@
|
||||
#include "nsString.h"
|
||||
#include "nsStringFwd.h"
|
||||
|
||||
#define TEST_RESULT(r) { if (NS_FAILED(r)) {printf("FAILURE result=%X\n", r); return r; } }
|
||||
#define TEST_RESULT(r) { if (NS_FAILED(r)) {printf("FAILURE result=%X\n", static_cast<uint32_t>(r)); return r; } }
|
||||
#define TEST_POINTER(p) { if (!p) {printf("FAILURE null pointer\n"); return NS_ERROR_NULL_POINTER; } }
|
||||
|
||||
TextEditorTest::TextEditorTest()
|
||||
|
@ -1228,7 +1228,8 @@ nsHTMLEditor::ReplaceHeadContentsWithHTML(const nsAString& aSourceToInsert)
|
||||
if (NS_FAILED(res))
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf("Couldn't create contextual fragment: error was %d\n", res);
|
||||
printf("Couldn't create contextual fragment: error was %X\n",
|
||||
static_cast<uint32_t>(res));
|
||||
#endif
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user