summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-io.cpp
diff options
context:
space:
mode:
authorStefano Facchini <stefano.facchini@gmail.com>2017-09-25 12:56:54 +0000
committerStefano Facchini <stefano.facchini@gmail.com>2017-10-19 17:22:34 +0000
commitac2988a77c1e010b7f6d7bf81f8d3e5097486485 (patch)
tree7eb80d8b91a4af8177e6a263e7e9090631572b8a /src/xml/repr-io.cpp
parentRemove unused script (diff)
downloadinkscape-ac2988a77c1e010b7f6d7bf81f8d3e5097486485.tar.gz
inkscape-ac2988a77c1e010b7f6d7bf81f8d3e5097486485.zip
Delete dead code
Diffstat (limited to 'src/xml/repr-io.cpp')
-rw-r--r--src/xml/repr-io.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp
index d8e0f5418..7b02fe784 100644
--- a/src/xml/repr-io.cpp
+++ b/src/xml/repr-io.cpp
@@ -67,11 +67,6 @@ static void sp_repr_write_stream_element(Node *repr, Writer &out,
gchar const *old_href_abs_base,
gchar const *new_href_abs_base);
-#ifdef HAVE_LIBWMF
-static xmlDocPtr sp_wmf_convert (const char * file_name);
-static char * sp_wmf_image_name (void * context);
-#endif /* HAVE_LIBWMF */
-
class XmlSource
{
@@ -323,7 +318,7 @@ int XmlSource::close()
}
/**
- * Reads XML from a file, including WMF files, and returns the Document.
+ * Reads XML from a file, and returns the Document.
* The default namespace can also be specified, if desired.
*/
Document *sp_repr_read_file (const gchar * filename, const gchar *default_ns)
@@ -354,15 +349,6 @@ Document *sp_repr_read_file (const gchar * filename, const gchar *default_ns)
Inkscape::IO::dump_fopen_call( filename, "N" );
-#ifdef HAVE_LIBWMF
- if (strlen (localFilename) > 4) {
- if ( (strcmp (localFilename + strlen (localFilename) - 4,".wmf") == 0)
- || (strcmp (localFilename + strlen (localFilename) - 4,".WMF") == 0)) {
- doc = sp_wmf_convert (localFilename);
- }
- }
-#endif // !HAVE_LIBWMF
-
if ( !doc ) {
XmlSource src;