From 14eacdd46a0dcb917df05351353525766a773953 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 9 Apr 2007 15:46:34 +0000 Subject: [PATCH] compilation fixes: remove unneeded c_str() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/tex2rtf/src/texutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/tex2rtf/src/texutils.cpp b/utils/tex2rtf/src/texutils.cpp index 58d5bb7076..eead3b6dfc 100644 --- a/utils/tex2rtf/src/texutils.cpp +++ b/utils/tex2rtf/src/texutils.cpp @@ -451,7 +451,7 @@ void ReadTexReferences(wxChar *filename) // were massive memory leaks TexReferences.DeleteContents(true); TexReferences.Put( - labelStr.c_str(), + labelStr, new TexRef( labelStr.c_str(), fileStr.c_str(), @@ -1526,7 +1526,7 @@ bool ReadCustomMacros(const wxString& filename) macro->macroBody = copystring(macroBody.c_str()); BibEatWhiteSpace(line); - CustomMacroList.Append(macroName.c_str(), macro); + CustomMacroList.Append(macroName, macro); AddMacroDef(ltCUSTOM_MACRO, macroName.c_str(), noArgs); } -- 2.50.0