eVC4 warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4870,8 +4870,8 @@ bool wxRichTextFileHandler::LoadFile(wxRichTextBuffer *buffer, const wxString& f
|
||||
wxFFileInputStream stream(filename);
|
||||
if (stream.Ok())
|
||||
return LoadFile(buffer, stream);
|
||||
else
|
||||
return false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool wxRichTextFileHandler::SaveFile(wxRichTextBuffer *buffer, const wxString& filename)
|
||||
@@ -4879,8 +4879,8 @@ bool wxRichTextFileHandler::SaveFile(wxRichTextBuffer *buffer, const wxString& f
|
||||
wxFFileOutputStream stream(filename);
|
||||
if (stream.Ok())
|
||||
return SaveFile(buffer, stream);
|
||||
else
|
||||
return false;
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif // wxUSE_STREAMS
|
||||
|
||||
|
Reference in New Issue
Block a user