From ac21a3afe45e6673ceeeb11253cb4681b7f70c00 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Mon, 7 Nov 2005 21:47:45 +0000 Subject: [PATCH] Implement stub routine for _com_issue_error to avoid dependency upon comsupp.dll. Fixing free MSVC bustage. Bug #241528 r=bsmedberg sr=bryner --- .../components/migration/src/nsIEProfileMigrator.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/browser/components/migration/src/nsIEProfileMigrator.cpp b/browser/components/migration/src/nsIEProfileMigrator.cpp index 1ce1f0f9933c..c22b4fe7f90d 100644 --- a/browser/components/migration/src/nsIEProfileMigrator.cpp +++ b/browser/components/migration/src/nsIEProfileMigrator.cpp @@ -98,6 +98,14 @@ const int sInitialCookieBufferSize = 1024; // but it can grow const int sUsernameLengthLimit = 80; const int sHostnameLengthLimit = 255; +//*********************************************************************** +//*** Replacements for comsupp.lib calls used by pstorec.dll +//*********************************************************************** +void __stdcall _com_issue_error(HRESULT hr) +{ + // XXX - Do nothing for now +} + //*********************************************************************** //*** windows registry to mozilla prefs data type translation functions //*********************************************************************** @@ -559,7 +567,7 @@ nsIEProfileMigrator::CopyHistory(PRBool aReplace) if (SUCCEEDED(hr)) { STATURL statURL; ULONG fetched; - _bstr_t url, title; + _bstr_t url; nsCAutoString scheme; SYSTEMTIME st; PRBool validScheme = PR_FALSE;