bug 828234 - fix nsTextStore.cpp build on mingw r=masayuki

This commit is contained in:
Trevor Saunders 2013-01-09 09:41:58 -05:00
Родитель 86501b5269
Коммит e5acdb3b47
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -354,7 +354,7 @@ nsTextStore::~nsTextStore()
PR_LOG(sTextStoreLog, PR_LOG_ALWAYS, PR_LOG(sTextStoreLog, PR_LOG_ALWAYS,
("TSF: 0x%p nsTextStore instance is destroyed, " ("TSF: 0x%p nsTextStore instance is destroyed, "
"mWidget=0x%p, mDocumentMgr=0x%p, mContext=0x%p", "mWidget=0x%p, mDocumentMgr=0x%p, mContext=0x%p",
this, mWidget, mDocumentMgr, mContext)); this, mWidget.get(), mDocumentMgr.get(), mContext.get()));
if (mCompositionTimer) { if (mCompositionTimer) {
mCompositionTimer->Cancel(); mCompositionTimer->Cancel();
@ -1978,7 +1978,7 @@ nsTextStore::GetWnd(TsViewCookie vcView,
PR_LOG(sTextStoreLog, PR_LOG_ALWAYS, PR_LOG(sTextStoreLog, PR_LOG_ALWAYS,
("TSF: 0x%p nsTextStore::GetWnd(vcView=%ld, phwnd=0x%p), " ("TSF: 0x%p nsTextStore::GetWnd(vcView=%ld, phwnd=0x%p), "
"mWidget=0x%p", "mWidget=0x%p",
this, vcView, phwnd, mWidget)); this, vcView, phwnd, mWidget.get()));
if (vcView != TEXTSTORE_DEFAULT_VIEW) { if (vcView != TEXTSTORE_DEFAULT_VIEW) {
PR_LOG(sTextStoreLog, PR_LOG_ERROR, PR_LOG(sTextStoreLog, PR_LOG_ERROR,
@ -2234,7 +2234,8 @@ nsTextStore::InsertTextAtSelectionInternal(const nsAString &aInsertStr,
("TSF: 0x%p nsTextStore::InsertTextAtSelectionInternal() succeeded: " ("TSF: 0x%p nsTextStore::InsertTextAtSelectionInternal() succeeded: "
"mWidget=0x%p, mWidget->Destroyed()=%s, aTextChange={ acpStart=%ld, " "mWidget=0x%p, mWidget->Destroyed()=%s, aTextChange={ acpStart=%ld, "
"acpOldEnd=%ld, acpNewEnd=%ld }", "acpOldEnd=%ld, acpNewEnd=%ld }",
this, mWidget, GetBoolName(mWidget ? mWidget->Destroyed() : true), this, mWidget.get(),
GetBoolName(mWidget ? mWidget->Destroyed() : true),
aTextChange ? aTextChange->acpStart : 0, aTextChange ? aTextChange->acpStart : 0,
aTextChange ? aTextChange->acpOldEnd : 0, aTextChange ? aTextChange->acpOldEnd : 0,
aTextChange ? aTextChange->acpNewEnd : 0)); aTextChange ? aTextChange->acpNewEnd : 0));