diff -urN svx-old/source/dialog/optinet2.cxx svx/source/dialog/optinet2.cxx
--- svx-old/source/dialog/optinet2.cxx	2006-05-02 17:32:56.000000000 +0200
+++ svx/source/dialog/optinet2.cxx	2006-06-05 04:37:21.000000000 +0200
@@ -1681,188 +1681,6 @@
 	maProtectRecordsPB.SetText( sNewText );
 }
 
-//added by jmeng begin
-MozPluginTabPage::MozPluginTabPage(Window* pParent, const SfxItemSet& rSet)
-	: SfxTabPage( pParent, ResId( RID_SVXPAGE_INET_MOZPLUGIN, DIALOG_MGR() ), rSet ),
-	aMSWordGB		( this, ResId( GB_MOZPLUGIN	    ) ),
-	aWBasicCodeCB	( this, ResId( CB_MOZPLUGIN_CODE ) )
-{
-	FreeResource();
-}
-
-MozPluginTabPage::~MozPluginTabPage()
-{
-}
-
-SfxTabPage*	MozPluginTabPage::Create( Window* pParent,
-										const SfxItemSet& rAttrSet )
-{
-	return new MozPluginTabPage( pParent, rAttrSet );
-}
-BOOL MozPluginTabPage::FillItemSet( SfxItemSet& )
-{
-	BOOL hasInstall = isInstalled();
-	BOOL hasChecked = aWBasicCodeCB.IsChecked();
-	if(hasInstall && (!hasChecked)){
-		//try to uninstall
-		uninstallPlugin();
-	}
-	else if((!hasInstall) && hasChecked){
-		//try to install
-		installPlugin();
-	}
-	else{
-		// do nothing
-	}
-	return TRUE;
-}
-void MozPluginTabPage::Reset( const SfxItemSet& )
-{
-		aWBasicCodeCB.Check( isInstalled());
-		aWBasicCodeCB.SaveValue();
-}
-
-#ifdef WNT
-extern "C" {
-	int lc_isInstalled(const  char* realFilePath);
-	int lc_installPlugin(const  char* realFilePath);
-	int lc_uninstallPlugin(const  char* realFilePath);
-}
-#endif
-
-#define NPP_PATH_MAX 2048
-inline ::rtl::OString getDllURL( void )
-{
-//    ::rtl::OUString libPath(rtl::OUString::createFromAscii("libcui680li.so"));
-    ::rtl::OUString dirPath/*dllPath, */;
-    osl::Module::getUrlFromAddress((void*)&getDllURL, dirPath);
-    dirPath = dirPath.copy(0, dirPath.lastIndexOf('/'));
-//    osl::FileBase::getAbsoluteFileURL(dirPath, libPath, dllPath);
-    ::rtl::OUString sysDirPath;
-	osl::FileBase::getSystemPathFromFileURL(dirPath, sysDirPath);
-    ::rtl::OString oSysDirPath;
-    oSysDirPath = OUStringToOString(sysDirPath, RTL_TEXTENCODING_ASCII_US);
-    return oSysDirPath;
-}
-
-BOOL MozPluginTabPage::isInstalled()
-{
-#ifdef UNIX
-    // get the real file referred by .so lnk file
-    char lnkFilePath[NPP_PATH_MAX] = {0};
-    char lnkReferFilePath[NPP_PATH_MAX] = {0};
-    char* pHome = getpwuid(getuid())->pw_dir;
-	strcat(lnkFilePath, pHome);
-	strcat(lnkFilePath, "/.mozilla/plugins/libnpsoplugin" SAL_DLLEXTENSION);
-
-	struct stat sBuf;
-	if (0 > lstat(lnkFilePath, &sBuf))
-	    return false;
-    if (!S_ISLNK(sBuf.st_mode))
-		return false;
-    if (0 >= readlink(lnkFilePath, lnkReferFilePath, NPP_PATH_MAX))
-		return false;
-    // If the link is relative, then we regard it as non-standard
-    if (lnkReferFilePath[0] != '/')
-        return false;
-
-    // get the real file path
-    char realFilePath[NPP_PATH_MAX] = {0};
-    ::rtl::OString tempString;
-    tempString = getDllURL();
-    strncpy(realFilePath, tempString.getStr(), NPP_PATH_MAX);
-	strcat(realFilePath, "/libnpsoplugin" SAL_DLLEXTENSION);
-
-    if (0 != strcmp(lnkReferFilePath, realFilePath))
-        return false;
-    return true;
-#endif
-#ifdef WNT
-	// get the value from registry
-		BOOL ret = true;
-	::rtl::OString tempString;
-	char realFilePath[NPP_PATH_MAX] = {0};
-    tempString = getDllURL();
-    strncpy(realFilePath, tempString.getStr(), NPP_PATH_MAX);
-	if(! lc_isInstalled(realFilePath))
-		ret =true;
-	else
-		ret = false;
-	return ret;
-#endif
-}
-
-BOOL MozPluginTabPage::installPlugin()
-{
-#ifdef UNIX
-    // get the real file referred by .so lnk file
-    char lnkFilePath[NPP_PATH_MAX] = {0};
-    char* pHome = getpwuid(getuid())->pw_dir;
-	strcat(lnkFilePath, pHome);
-    strcat(lnkFilePath, "/.mozilla/plugins/libnpsoplugin" SAL_DLLEXTENSION);
-    remove(lnkFilePath);
-
-    // create the dirs if necessary
-    struct stat buf;
-    char tmpDir[NPP_PATH_MAX] = {0};
-    sprintf(tmpDir, "%s/.mozilla", pHome);
-    if (0 > stat(lnkFilePath, &buf))
-    {
-        mkdir(tmpDir, 0755);
-        strcat(tmpDir, "/plugins");
-        mkdir(tmpDir, 0755);
-    }
-
-    // get the real file path
-    char realFilePath[NPP_PATH_MAX] = {0};
-    ::rtl::OString tempString;
-    tempString = getDllURL();
-    strncpy(realFilePath, tempString.getStr(), NPP_PATH_MAX);
-	strcat(realFilePath, "/libnpsoplugin" SAL_DLLEXTENSION);
-
-    // create the link
-    if (0 != symlink(realFilePath, lnkFilePath))
-        return false;
-    return true;
-#endif
-#ifdef WNT
-	::rtl::OString tempString;
-	char realFilePath[NPP_PATH_MAX] = {0};
-    tempString = getDllURL();
-    strncpy(realFilePath, tempString.getStr(), NPP_PATH_MAX);
-	if( !lc_installPlugin(realFilePath))
-		return true;
-	else
-		return false;
-#endif
-}
-
-BOOL MozPluginTabPage::uninstallPlugin()
-{
-#ifdef UNIX
-    // get the real file referred by .so lnk file
-    char lnkFilePath[NPP_PATH_MAX] = {0};
-    char* pHome = getpwuid(getuid())->pw_dir;
-	strcat(lnkFilePath, pHome);
-	strcat(lnkFilePath, "/.mozilla/plugins/libnpsoplugin" SAL_DLLEXTENSION);
-
-	if(0 > remove(lnkFilePath))
-	    return false;
-	return true;
-#endif
-#ifdef WNT
-	::rtl::OString tempString;
-	char realFilePath[NPP_PATH_MAX] = {0};
-    tempString = getDllURL();
-    strncpy(realFilePath, tempString.getStr(), NPP_PATH_MAX);
-	if(!lc_uninstallPlugin(realFilePath))
-		return true;
-	else
-		return false;
-#endif
-}
-//added by jmeng end
-
 /* -------------------------------------------------------------------------*/
 
 class MailerProgramCfg_Impl : public utl::ConfigItem
diff -urN svx-old/source/dialog/optinet2.hxx svx/source/dialog/optinet2.hxx
--- svx-old/source/dialog/optinet2.hxx	2005-09-08 23:45:29.000000000 +0200
+++ svx/source/dialog/optinet2.hxx	2006-06-05 04:36:57.000000000 +0200
@@ -303,29 +303,6 @@
 	virtual	void 		Reset( const SfxItemSet& rSet );
 };
 
-//added by jmeng begin
-class MozPluginTabPage : public SfxTabPage
-{
-    FixedLine       aMSWordGB;
-	CheckBox		aWBasicCodeCB;
-
-	BOOL isInstalled(void);
-	BOOL installPlugin(void);
-	BOOL uninstallPlugin(void);
-
-	MozPluginTabPage( Window* pParent, const SfxItemSet& rSet );
-	virtual ~MozPluginTabPage();
-
-public:
-
-	static SfxTabPage*	Create( Window* pParent,
-								const SfxItemSet& rAttrSet );
-
-	virtual	BOOL 		FillItemSet( SfxItemSet& rSet );
-	virtual	void 		Reset( const SfxItemSet& rSet );
-
-};
-//added by jmeng end
 #endif
 
 /* -----------------------------20.06.01 16:32--------------------------------
diff -urN svx-old/source/options/optinet2.src svx/source/options/optinet2.src
--- svx-old/source/options/optinet2.src	2005-09-23 15:59:38.000000000 +0200
+++ svx/source/options/optinet2.src	2006-06-05 04:37:38.000000000 +0200
@@ -45,34 +45,6 @@
 /*                                                                      */
 /************************************************************************/
 
-// added by jmeng begin
-
-TabPage RID_SVXPAGE_INET_MOZPLUGIN
-{
-	OutputSize = TRUE ;
-	Size = MAP_APPFONT ( 260 , 185 ) ;
-	SVLook = TRUE ;
-	Hide = TRUE ;
-
-    FixedLine GB_MOZPLUGIN
-	{
-		Pos = MAP_APPFONT ( 6 , 3 ) ;
-        Size = MAP_APPFONT (  248 , 8  ) ;
-		Text [ de ] = "Mozilla Plug-in" ;
-		Text[ en-US ] = "Mozilla Plug-in";
-	};
-	CheckBox CB_MOZPLUGIN_CODE
-	{
-		Pos = MAP_APPFONT ( 12 , 14 ) ;
-		Size = MAP_APPFONT (  236 , 10  ) ;
-		TabStop = TRUE ;
-		Text [ de ] = "~Aktivieren" ;
-		Text [ en-US ] = "~Enable" ;
-	};
-};
-
-//added by jmeng end
-
 TabPage RID_SVXPAGE_INET_PROXY
 {
 	HelpId = HID_OPTIONS_PROXY ;
--- svx-old/source/dialog/treeopt.src	2006-03-31 14:10:14.000000000 +0200
+++ svx/source/dialog/treeopt.src	2006-06-05 06:36:58.000000000 +0200
@@ -270,14 +270,12 @@
 	};
     StringArray SID_INET_DLG
 	{
-		//modified by jmeng begin	
 		ItemList [ de ] =
 		{
 			< "Internet" ; 0; > ;
 			< "Proxy" ;  RID_SVXPAGE_INET_PROXY; > ;
 			< "Suche" ;  RID_SVXPAGE_INET_SEARCH; > ;
 			< "E-Mail" ;  RID_SVXPAGE_INET_MAIL; > ;
-			< "Mozilla Plug-in" ;  RID_SVXPAGE_INET_MOZPLUGIN; > ;
 		};
 	    ItemList [ x-comment ] =
 		{
@@ -285,7 +283,6 @@
 			< "; Proxy" ;  RID_SVXPAGE_INET_PROXY; > ;
 			< "; Suche" ;  RID_SVXPAGE_INET_SEARCH; > ;
 			< "; E-Mail" ;  RID_SVXPAGE_INET_MAIL; > ;
-			< ";Mozilla Plug-in" ;  RID_SVXPAGE_INET_MOZPLUGIN; > ;
 		};
 		ItemList [ en-US ] =
 		{
@@ -293,7 +290,5 @@
 			< "Proxy" ;  RID_SVXPAGE_INET_PROXY; > ;
 			< "Search" ;  RID_SVXPAGE_INET_SEARCH; > ;
 			< "E-mail" ;  RID_SVXPAGE_INET_MAIL; > ;
-			< "Mozilla Plug-in" ;  RID_SVXPAGE_INET_MOZPLUGIN; > ;
 		};
- 		//modified by jmeng end
 	};
--- svx-old/inc/dialogs.hrc	2006-06-05 02:13:40.000000000 +0200
+++ svx/inc/dialogs.hrc	2006-06-05 06:37:48.000000000 +0200
@@ -250,11 +250,6 @@
 #define RID_SVXPAGE_INET_CACHE              (RID_SVX_START + 158)
 #define RID_SVXPAGE_INET_TYPE               (RID_SVX_START + 159)
 #define RID_SVXPAGE_INET_SEARCH				(RID_SVX_START + 160)
-//added by jmeng begin
-#define RID_SVXPAGE_INET_MOZPLUGIN			(RID_SVX_START + 2161)
-#define GB_MOZPLUGIN	1
-#define CB_MOZPLUGIN_CODE	2
-//added by jmeng end
 #define RID_SVXPAGE_INET_SECURITY	  		(RID_SVX_START + 200)
 
 #define RID_SVXPAGE_BROWSER_OTHER           (RID_SVX_START + 202)
--- svx-old/source/dialog/treeopt.cxx	2006-05-02 17:34:07.000000000 +0200
+++ svx/source/dialog/treeopt.cxx	2006-06-05 06:45:20.000000000 +0200
@@ -325,9 +325,6 @@
 		case RID_SVXPAGE_ACCESSIBILITYCONFIG:		fnCreate = &SvxAccessibilityOptionsTabPage::Create; break;
 		case RID_SVXPAGE_SSO:						fnCreate = ( CreateTabPage ) GetSSOCreator(); break;
 		case RID_SVXPAGE_OPTIONS_CTL:				fnCreate = &SvxCTLOptionsPage::Create ; break;
-		//added by jmeng begin
-		case RID_SVXPAGE_INET_MOZPLUGIN:			fnCreate = &MozPluginTabPage::Create; break;
-		//added by jmeng end
 		case RID_SVXPAGE_OPTIONS_JAVA:				fnCreate = &SvxJavaOptionsPage::Create ; break;
 	}
 
@@ -370,7 +367,6 @@
     { "Internet",           "Proxy",                RID_SVXPAGE_INET_PROXY },
     { "Internet",           "Search",               RID_SVXPAGE_INET_SEARCH },
     { "Internet",           "Email",                RID_SVXPAGE_INET_MAIL },
-    { "Internet",           "MozillaPlugin",        RID_SVXPAGE_INET_MOZPLUGIN },
     { "LoadSave",           NULL,                   SID_FILTER_DLG },
     { "LoadSave",           "General",              RID_SFXPAGE_SAVE },
     { "LoadSave",           "VBAProperties",        SID_OPTFILTER_MSOFFICE },
