]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextxml.cpp
missing commit
[wxWidgets.git] / src / richtext / richtextxml.cpp
index 263ea7f58ba6abe048862b7aa25348bc71a2eca8..4157ec55057a2e90abd97e5e1c17a4bf928acc6a 100644 (file)
@@ -875,7 +875,7 @@ bool wxRichTextXMLHandler::DoSaveFile(wxRichTextBuffer *buffer, wxOutputStream&
 
     wxString s ;
     s.Printf(wxT("<?xml version=\"%s\" encoding=\"%s\"?>\n"),
-             version.c_str(), fileEncoding.c_str());
+             version, fileEncoding);
     OutputString(stream, s);
     OutputString(stream, wxT("<richtext version=\"1.0.0.0\" xmlns=\"http://www.wxwidgets.org\">"));