From 8fe8df064850bdaf5cd0c6015430c4b12132c8ab Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Mon, 5 Nov 2018 23:37:54 +0100 Subject: remove Inkscape::URI::toString --- src/extension/internal/javafx-out.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/extension') diff --git a/src/extension/internal/javafx-out.cpp b/src/extension/internal/javafx-out.cpp index 6c6ebaa84..cc5fc12bb 100644 --- a/src/extension/internal/javafx-out.cpp +++ b/src/extension/internal/javafx-out.cpp @@ -391,14 +391,12 @@ bool JavaFXOutput::doStyle(SPStyle *style) } else if (fill.isPaintserver()){ if (fill.value.href && fill.value.href->getURI() ){ - gchar *str = fill.value.href->getURI()->toString(); - String uri = (str ? str : ""); + String uri = fill.value.href->getURI()->str(); /* trim the anchor '#' from the front */ if (uri.size() > 0 && uri[0]=='#') { uri = uri.substr(1); } out(" fill: %s()\n", sanatize(uri).c_str()); - g_free(str); } } -- cgit v1.2.3