summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-10 08:09:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-10 08:09:50 +0100
commit03304ba903ade6a538f948273dd390aa5465785f (patch)
treeda75003201a3808dd0ca8b29308651b364b4e7f4 /unoxml
parentaac9419b8142d949084ceb5d6361b9623e72d74f (diff)
New loplugin:conststringvar: unoxml
Change-Id: If8b214482c96e6c302baa31efbdd2d3d0fd96fb7
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 5d0de18041a9..82d0f9077f58 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -1166,7 +1166,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException,
"librdf_Repository::exportGraph: "
"librdf_model_context_as_stream failed", *this);
}
- const char *format("rdfxml");
+ const char * const format("rdfxml");
// #i116443#: abbrev breaks when certain URIs are used as data types
// const char *format("rdfxml-abbrev");
const std::shared_ptr<librdf_serializer> pSerializer(