diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/lib/CDRContentCollector.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index ec7cd3a..a216684 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ PKG_PROG_PKG_CONFIG([0.20]) # Find librevenge # =============== PKG_CHECK_MODULES([REVENGE],[ - librevenge-0.0 + librevenge-0.0 >= 0.0.1 ]) AC_SUBST([REVENGE_CFLAGS]) AC_SUBST([REVENGE_LIBS]) diff --git a/src/lib/CDRContentCollector.cpp b/src/lib/CDRContentCollector.cpp index c199aed..5c4ea97 100644 --- a/src/lib/CDRContentCollector.cpp +++ b/src/lib/CDRContentCollector.cpp @@ -1185,7 +1185,7 @@ void libcdr::CDRContentCollector::collectSpnd(unsigned spnd) void libcdr::CDRContentCollector::collectVectorPattern(unsigned id, const librevenge::RVNGBinaryData &data) { - librevenge::RVNGInputStream *input = const_cast<librevenge::RVNGInputStream *>(data.getDataStream()); + librevenge::RVNGInputStream *input = data.getDataStream(); input->seek(0, librevenge::RVNG_SEEK_SET); if (!libcdr::CMXDocument::isSupported(input)) return; |