summaryrefslogtreecommitdiffstats
path: root/src/extension/script/InkscapeScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/script/InkscapeScript.cpp')
-rw-r--r--src/extension/script/InkscapeScript.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/extension/script/InkscapeScript.cpp b/src/extension/script/InkscapeScript.cpp
index 1507c6344..d492cb100 100644
--- a/src/extension/script/InkscapeScript.cpp
+++ b/src/extension/script/InkscapeScript.cpp
@@ -107,16 +107,16 @@ bool InkscapeScript::interpretScript(const Glib::ustring &script,
parm.setString(script);
parms.push_back(parm);
- binder->stdOutClear();
- binder->stdErrClear();
+ //binder->stdOutClear();
+ //binder->stdErrClear();
bool ret = binder->callStatic(Value::BIND_BOOLEAN,
"org/inkscape/cmn/ScriptRunner",
"run",
"(Ljava/lang/String;Ljava/lang/String;)Z",
parms,
retval);
- output = binder->stdOutGet();
- error = binder->stdErrGet();
+ //output = binder->stdOutGet();
+ //error = binder->stdErrGet();
if (!ret)
{
@@ -175,16 +175,16 @@ bool InkscapeScript::interpretFile(const Glib::ustring &fname,
parm.setString(fname);
parms.push_back(parm);
- binder->stdOutClear();
- binder->stdErrClear();
+ //binder->stdOutClear();
+ //binder->stdErrClear();
bool ret = binder->callStatic(Value::BIND_BOOLEAN,
"org/inkscape/cmn/ScriptRunner",
"runFile",
"(Ljava/lang/String;Ljava/lang/String;)Z",
parms,
retval);
- output = binder->stdOutGet();
- error = binder->stdErrGet();
+ //output = binder->stdOutGet();
+ //error = binder->stdErrGet();
if (!ret)
{