diff options
author | David Tardon <dtardon@redhat.com> | 2014-06-03 18:39:53 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-06-03 18:39:53 +0200 |
commit | f8c8a0d09c0614d7b0794b09b5d3fcaba84294b1 (patch) | |
tree | 30e28ccf6a8ee7591eb5137369a7986cbd4b9b34 | |
parent | e973b9db65df3c367e09e0d4623be59a91074515 (diff) |
the const_cast is no longer necessary
Change-Id: I802fd594660761e5ee112fa096f6f4c8fcc97cbb
-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; |