summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-09-02 15:05:06 +0200
committerDavid Tardon <dtardon@redhat.com>2014-09-02 15:05:06 +0200
commite3950dd27c0b1b9031464b8694fcc8350dcdcbf2 (patch)
tree578ce8c9f50d3c946c1fe92b526ad4851f82ce54
parentf9b7a39998d3172514824ba1450d79eb3dd5b2e5 (diff)
remove the extra check
-rw-r--r--src/lib/SDFDocument.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/SDFDocument.cpp b/src/lib/SDFDocument.cpp
index 867f179..78e530b 100644
--- a/src/lib/SDFDocument.cpp
+++ b/src/lib/SDFDocument.cpp
@@ -40,9 +40,6 @@ catch (...)
SDFAPI bool SDFDocument::parse(librevenge::RVNGInputStream *const input, librevenge::RVNGTextInterface *const document) try
{
- if (!isSupported(input))
- return false;
-
const RVNGInputStreamPtr_t input_(input, SDFDummyDeleter());
input_->seek(0, librevenge::RVNG_SEEK_SET);