Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106946 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -96,8 +96,8 @@ LRESULT CPropertyDlg::OnClose(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bH
|
||||
|
||||
LRESULT CPPageDlg::OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||
{
|
||||
SetDlgItemText(IDC_PROTOCOL, mProtocol);
|
||||
SetDlgItemText(IDC_TYPE, mType);
|
||||
SetDlgItemText(IDC_ADDRESS, mURL);
|
||||
SetDlgItemText(IDC_PROTOCOL, mProtocol.get());
|
||||
SetDlgItemText(IDC_TYPE, mType.get());
|
||||
SetDlgItemText(IDC_ADDRESS, mURL.get());
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -642,7 +642,7 @@ void CBrowserView::OnFileSaveAs()
|
||||
"Web Page, Complete (*.htm;*.html)|*.htm;*.html|"
|
||||
"Text File (*.txt)|*.txt||";
|
||||
|
||||
CFileDialog cf(FALSE, "htm", (const char *)fileName, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
|
||||
CFileDialog cf(FALSE, "htm", fileName.get(), OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
|
||||
lpszFilter, this);
|
||||
|
||||
if(cf.DoModal() == IDOK)
|
||||
|
||||
Reference in New Issue
Block a user