synchronized from quantum plugin
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / bookmark / CopyAction.java
index 5978426..ec24e79 100644 (file)
@@ -64,7 +64,7 @@ final class CopyAction extends SelectionListenerAction {
                        ModelToXMLConverter.getInstance().convert(root, ((EntityNode) selection).getEntity());
                        StringWriter text = new StringWriter();
                        try {
-                    XMLHelper.createDOMSerializer(text).serialize(doc);
+                    XMLHelper.write(text, doc);
                        } catch (IOException e) {
                                e.printStackTrace();
                        }