Code

Extensions. JavaFX output fix by ycswyw.
authorJazzyNico <nicoduf@yahoo.fr>
Mon, 19 Apr 2010 19:37:04 +0000 (21:37 +0200)
committerJazzyNico <nicoduf@yahoo.fr>
Mon, 19 Apr 2010 19:37:04 +0000 (21:37 +0200)
src/extension/internal/javafx-out.cpp

index ca061a63a79f562206a2eca6e147d7fc6efd4aa4..a4d34894033c5ccbe65673ec06b747fed41ce969 100644 (file)
@@ -791,7 +791,8 @@ bool JavaFXOutput::doBody(SPDocument *doc, SPObject *obj)
             SPShape *shape = SP_SHAPE(item);
             SPCurve *curve = shape->curve;
             if (!curve->is_empty()) {
-                out("               %s(),\n", id.c_str());
+                String jfxid = sanatize(id);
+                out("               %s(),\n", jfxid.c_str());
             }
         }
     }