diff options
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 7e90f4065..6491ce33d 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -1016,7 +1016,7 @@ impl_show_file_picker (EphyEmbedSingle *shell, char *expanded_directory = NULL; gresult result; - GFilePicker *filePicker = new GFilePicker (file_formats); + GFilePicker *filePicker = new GFilePicker (); if (directory != NULL) { @@ -1047,11 +1047,6 @@ impl_show_file_picker (EphyEmbedSingle *shell, PRInt16 retval; filePicker->Show (&retval); - if (ret_file_format != NULL) - { - *ret_file_format = filePicker->mSelectedFileFormat; - } - nsCOMPtr<nsILocalFile> local_file; filePicker->GetFile (getter_AddRefs(local_file)); nsCAutoString tempFullPathStr; |