diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-12-10 12:13:33 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-12-10 13:41:52 +0100 |
commit | da0b49f808825884f045bba6689be13d33d58a47 (patch) | |
tree | d4b4c1500fe81fa0156d40a9220e195d46985dba /sw/inc/rdfhelper.hxx | |
parent | 5ac6e00274e732435b55c2908db9cea658fe549b (diff) |
sw: accept a const text node in SwRDFHelper::getTextNodeStatements()
It's an implementation detail that the used UNO API needs a non-cost
text node, even if only read methods are called on the wrapper object.
Change-Id: If15eaca48339f1531fd54da3422a6b7c41eb48f7
Diffstat (limited to 'sw/inc/rdfhelper.hxx')
-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 edee106b4186..bb644964089e 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, SwTextNode& rTextNode); + static std::map<OUString, OUString> getTextNodeStatements(const OUString& rType, const 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); }; |