diff options
Diffstat (limited to 'src/lib/CDRContentCollector.cpp')
-rw-r--r-- | src/lib/CDRContentCollector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |