{
// load appropriate string
const String s = theApp.LoadString(nID);
- if (!AfxExtractSubString(rMessage, &*s.begin(), 0))
+ if (!AfxExtractSubString(rMessage, s.c_str(), 0))
{
// not found
TRACE1("Warning: no message line prompt for ID 0x%04X.\n", nID);
{
// load appropriate string
const String s = theApp.LoadString(nID);
- if (!AfxExtractSubString(rMessage, &*s.begin(), 0))
+ if (!AfxExtractSubString(rMessage, s.c_str(), 0))
{
// not found
TRACE1("Warning: no message line prompt for ID 0x%04X.\n", nID);
{
// load appropriate string
const String s = theApp.LoadString(nID);
- if (!AfxExtractSubString(rMessage, &*s.begin(), 0))
+ if (!AfxExtractSubString(rMessage, s.c_str(), 0))
{
// not found
TRACE1("Warning: no message line prompt for ID 0x%04X.\n", nID);
const String s = theApp.LoadString(nID);
// avoid dereference of empty strings
- if (s.length() <= 0 || !AfxExtractSubString(rMessage, &*s.begin(), 0))
+ if (s.length() <= 0 || !AfxExtractSubString(rMessage, s.c_str(), 0))
{
// not found
TRACE1("Warning: no message line prompt for ID 0x%04X.\n", nID);
{
// load appropriate string
const String s = theApp.LoadString(nID);
- if (!AfxExtractSubString(rMessage, &*s.begin(), 0))
+ if (!AfxExtractSubString(rMessage, s.c_str(), 0))
{
// not found
TRACE1("Warning: no message line prompt for ID 0x%04X.\n", nID);