Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 5679)
+++ /CKEditor/trunk/CHANGES.html	(revision 5680)
@@ -61,4 +61,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/5933">#5933</a> : Text color and background color panels don't have scrollbars anymore under office2003 and v2 skins.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/5943">#5943</a> : An error is no longer generated when using percent or pixel values in the image dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/5951">#5951</a> : Avoid problems with security systems due to the usage of UniversalXPConnect.</li>
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/plugins/pastetext/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/pastetext/plugin.js	(revision 5679)
+++ /CKEditor/trunk/_source/plugins/pastetext/plugin.js	(revision 5680)
@@ -21,21 +21,4 @@
 					if ( !clipboardText )
 						throw 0;
-					return clipboardText;
-				},
-				function()
-				{
-					window.netscape.security.PrivilegeManager.enablePrivilege( "UniversalXPConnect" );
-
-					var clip = window.Components.classes[ "@mozilla.org/widget/clipboard;1" ]
-							.getService( window.Components.interfaces.nsIClipboard );
-					var trans = window.Components.classes[ "@mozilla.org/widget/transferable;1" ]
-							.createInstance( window.Components.interfaces.nsITransferable );
-					trans.addDataFlavor( "text/unicode" );
-					clip.getData( trans, clip.kGlobalClipboard );
-
-					var str = {}, strLength = {}, clipboardText;
-					trans.getTransferData( "text/unicode", str, strLength );
-					str = str.value.QueryInterface( window.Components.interfaces.nsISupportsString );
-					clipboardText = str.data.substring( 0, strLength.value / 2 );
 					return clipboardText;
 				}
