summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/extension/script/InkscapeScript.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/extension/script/InkscapeScript.cpp b/src/extension/script/InkscapeScript.cpp
index 4a880160a..138c8cb7e 100644
--- a/src/extension/script/InkscapeScript.cpp
+++ b/src/extension/script/InkscapeScript.cpp
@@ -71,7 +71,6 @@ bool InkscapeScript::interpretScript(const Glib::ustring &script,
Glib::ustring &error,
ScriptLanguage language)
{
-#if USE_JAVA
const char *langname=NULL;
//if() instead of switch() lets us scope vars
if (language == InkscapeScript::JAVASCRIPT)
@@ -126,9 +125,6 @@ bool InkscapeScript::interpretScript(const Glib::ustring &script,
}
return true;
-#else // USE_JAVA
- return false;
-#endif // USE_JAVA
}
@@ -143,7 +139,6 @@ bool InkscapeScript::interpretFile(const Glib::ustring &fname,
Glib::ustring &error,
ScriptLanguage language)
{
-#if USE_JAVA
const char *langname=NULL;
//if() instead of switch() lets us scope vars
if (language == InkscapeScript::JAVASCRIPT)
@@ -198,9 +193,6 @@ bool InkscapeScript::interpretFile(const Glib::ustring &fname,
}
return true;
-#else // USE_JAVA
- return false;
-#endif // USE_JAVA
}