diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-08-17 09:39:56 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-08-17 11:27:05 +0200 |
commit | 6255575c475a25698a4c7145923abbb46f58313d (patch) | |
tree | 25dd6feaaf9134574d9f9232094642893b54a8c8 /sw/inc | |
parent | 2e8acde112e1c6754df26902e79a78346ba45a2d (diff) |
MSWord export: adapt interface to avoid const_cast
If the implementation uses const_cast anyway, then it's clearer to just
not pretend const at the interface level.
Change-Id: Ib819efe9204440fde6dc2af890e5ff2769f4b9d3
Reviewed-on: https://gerrit.libreoffice.org/41238
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/rdfhelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/rdfhelper.hxx b/sw/inc/rdfhelper.hxx index 43abffd27ae2..c47ba0b5c9a6 100644 --- a/sw/inc/rdfhelper.hxx +++ b/sw/inc/rdfhelper.hxx @@ -23,7 +23,7 @@ class SW_DLLPUBLIC SwRDFHelper { public: /// Gets all (rTextNode, key, value) statements in RDF graphs of type rType. - static std::map<OUString, OUString> getTextNodeStatements(const OUString& rType, const SwTextNode& rTextNode); + static std::map<OUString, OUString> getTextNodeStatements(const OUString& rType, SwTextNode& rTextNode); /// Add an (rTextNode, key, value) statement in the graph of type rType -- or if it does not exist, create a graph at rPath first. static void addTextNodeStatement(const OUString& rType, const OUString& rPath, SwTextNode& rTextNode, const OUString& rKey, const OUString& rValue); |