From 889311ab33a0c57d5f1801044f8cd8de7d93af53 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 21 Jul 2015 22:00:08 +0200 Subject: add const Change-Id: Ieeef8936cce71f41bc2fbf114bc17739829152e9 --- src/lib/VSDParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp index 9bdb7c6..9a9db15 100644 --- a/src/lib/VSDParser.cpp +++ b/src/lib/VSDParser.cpp @@ -163,7 +163,7 @@ void libvisio::VSDParser::parseMetaData() try delete sumaryInfo; } - RVNGInputStreamPtr_t docSumaryInfo(m_container->getSubStreamByName("\005DocumentSummaryInformation")); + const RVNGInputStreamPtr_t docSumaryInfo(m_container->getSubStreamByName("\005DocumentSummaryInformation")); if (bool(docSumaryInfo)) metaData.parse(docSumaryInfo.get()); -- cgit v1.2.3