]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_inet.cpp
use guard classes automatically restoring the old state in their dtor instead of...
[wxWidgets.git] / src / common / fs_inet.cpp
index ce26c59f8ca7dc5bcfcfa5b0f64bc453d93ca903..835cf15a7e4594613147553362b02ae1c83a1bc2 100644 (file)
@@ -107,7 +107,6 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs),
     {
         wxInputStream *s = url.GetInputStream();
         wxString content = url.GetProtocol().GetContentType();
-        if (content == wxEmptyString) content = GetMimeTypeFromExt(location);
         if (s)
         {
             wxString tmpfile =