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:
jaggernaut%netscape.com
2001-11-01 09:09:57 +00:00
parent 4adbb712fc
commit 640c7f02ab
26 changed files with 154 additions and 153 deletions

View File

@@ -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;
}

View File

@@ -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)