compilation fixes: remove unneeded c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -451,7 +451,7 @@ void ReadTexReferences(wxChar *filename)
|
|||||||
// were massive memory leaks
|
// were massive memory leaks
|
||||||
TexReferences.DeleteContents(true);
|
TexReferences.DeleteContents(true);
|
||||||
TexReferences.Put(
|
TexReferences.Put(
|
||||||
labelStr.c_str(),
|
labelStr,
|
||||||
new TexRef(
|
new TexRef(
|
||||||
labelStr.c_str(),
|
labelStr.c_str(),
|
||||||
fileStr.c_str(),
|
fileStr.c_str(),
|
||||||
@@ -1526,7 +1526,7 @@ bool ReadCustomMacros(const wxString& filename)
|
|||||||
macro->macroBody = copystring(macroBody.c_str());
|
macro->macroBody = copystring(macroBody.c_str());
|
||||||
|
|
||||||
BibEatWhiteSpace(line);
|
BibEatWhiteSpace(line);
|
||||||
CustomMacroList.Append(macroName.c_str(), macro);
|
CustomMacroList.Append(macroName, macro);
|
||||||
AddMacroDef(ltCUSTOM_MACRO, macroName.c_str(), noArgs);
|
AddMacroDef(ltCUSTOM_MACRO, macroName.c_str(), noArgs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user