summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-07-20 18:47:38 +0200
committerDavid Tardon <dtardon@redhat.com>2015-07-20 18:47:38 +0200
commitc19e87440ef2d79ba199881c983f2be94fbef907 (patch)
tree9fedcf0aa5090d50d094382e17e63f14f652b5b2 /src
parent8c59a6a236ec23558ac6645cdce4b58fdb002368 (diff)
use const
Change-Id: Idb34c470628f98aabfdcb75313705ce225a65bd7
Diffstat (limited to 'src')
-rw-r--r--src/lib/VSDXParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDXParser.cpp b/src/lib/VSDXParser.cpp
index 6ce9aaf..e5cee1e 100644
--- a/src/lib/VSDXParser.cpp
+++ b/src/lib/VSDXParser.cpp
@@ -301,7 +301,7 @@ void libvisio::VSDXParser::processXmlDocument(librevenge::RVNGInputStream *input
XMLErrorWatcher watcher;
- boost::shared_ptr<xmlTextReader> reader(
+ const boost::shared_ptr<xmlTextReader> reader(
xmlReaderForStream(input, 0, 0, XML_PARSE_NOBLANKS|XML_PARSE_NOENT|XML_PARSE_NONET, &watcher),
xmlFreeTextReader);
if (!reader)