diff options
author | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-12 08:37:43 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-12 08:37:43 +0800 |
commit | 824dfce72819337e7dad44f9b9c999caadd0e9a2 (patch) | |
tree | 5080b21ccbdf078fcd95eb2842e55ffd265aead6 /embed/mozilla/FilePicker.cpp | |
parent | 3a57d18b63e6cde5a2a3bed06834020794c0ebd9 (diff) | |
download | gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.gz gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.bz2 gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.lz gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.xz gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.zst gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.zip |
*** empty log message ***
Diffstat (limited to 'embed/mozilla/FilePicker.cpp')
-rw-r--r-- | embed/mozilla/FilePicker.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp index e488a8a6f..277a5a3a3 100644 --- a/embed/mozilla/FilePicker.cpp +++ b/embed/mozilla/FilePicker.cpp @@ -53,10 +53,8 @@ #include "nsCRT.h" #include "nsCOMPtr.h" -#include "nsIFactory.h" #include "nsISupportsArray.h" #include "nsIServiceManager.h" -#include "nsXPComFactory.h" #include "nsString.h" #include "nsXPIDLString.h" @@ -493,26 +491,4 @@ NS_METHOD GFilePicker::HandleFilePickerResult(PRInt16 *retval) return NS_OK; } -//------------------------------------------------------------------------------ -NS_DEF_FACTORY (GFilePicker, GFilePicker); - -/** - * NS_NewFilePickerFactory: - */ -nsresult NS_NewFilePickerFactory(nsIFactory** aFactory) -{ - NS_ENSURE_ARG_POINTER(aFactory); - *aFactory = nsnull; - - nsGFilePickerFactory *result = new nsGFilePickerFactory; - if (result == NULL) - { - return NS_ERROR_OUT_OF_MEMORY; - } - - NS_ADDREF(result); - *aFactory = result; - - return NS_OK; -} |