diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-03-02 06:10:16 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-03-02 06:10:16 +0000 |
| commit | fd703018ee505f643f866aa4e0cc3f1bebf7aa7d (patch) | |
| tree | 6719a17bafdb9a4f36419999859b934e39d805d6 /src/extension/internal/javafx-out.cpp | |
| parent | Starting a (useful) derivation of http://colivre.coop.br/Aurium/InkscapeAreaC... (diff) | |
| download | inkscape-fd703018ee505f643f866aa4e0cc3f1bebf7aa7d.tar.gz inkscape-fd703018ee505f643f866aa4e0cc3f1bebf7aa7d.zip | |
Cleanup on id access.
(bzr r9127)
Diffstat (limited to 'src/extension/internal/javafx-out.cpp')
| -rw-r--r-- | src/extension/internal/javafx-out.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extension/internal/javafx-out.cpp b/src/extension/internal/javafx-out.cpp index a2f387406..ca061a63a 100644 --- a/src/extension/internal/javafx-out.cpp +++ b/src/extension/internal/javafx-out.cpp @@ -707,7 +707,7 @@ bool JavaFXOutput::doTreeRecursive(SPDocument *doc, SPObject *obj) * Check the type of node and process */ String id; - if (!obj->id) + if (!obj->getId()) { char buf[16]; sprintf(buf, "id%d", idindex++); @@ -715,7 +715,7 @@ bool JavaFXOutput::doTreeRecursive(SPDocument *doc, SPObject *obj) } else { - id = obj->id; + id = obj->getId(); } if (SP_IS_ITEM(obj)) { @@ -773,7 +773,7 @@ bool JavaFXOutput::doBody(SPDocument *doc, SPObject *obj) * Check the type of node and process */ String id; - if (!obj->id) + if (!obj->getId()) { char buf[16]; sprintf(buf, "id%d", idindex++); @@ -781,7 +781,7 @@ bool JavaFXOutput::doBody(SPDocument *doc, SPObject *obj) } else { - id = obj->id; + id = obj->getId(); } if (SP_IS_ITEM(obj)) { |
