diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 20:35:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 22:12:28 +0200 |
commit | 57c9a995bafcaeb9ab00facb9b7f3ed52c7e7d2a (patch) | |
tree | 0694b1f49f2e51e533fe2a571b5aefbc9049fc54 /unoxml | |
parent | 592c31a8fa8729259cf42440a0a26c0322bbbba5 (diff) |
loplugin:returnconstval in test..writerfilter
Change-Id: Iea7d15f0a54921514cc4b71c5dc8caaa2ee573c8
Reviewed-on: https://gerrit.libreoffice.org/78063
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index eb15843ef25b..72e417cfd699 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -344,10 +344,10 @@ public: const uno::Sequence< css::uno::Any > & i_rArguments) override; // XNamedGraph forwards --------------------------------------------- - const NamedGraphMap_t::iterator clearGraph_NoLock( + NamedGraphMap_t::iterator clearGraph_NoLock( const OUString & i_rGraphName, bool i_Internal = false ); - const NamedGraphMap_t::iterator clearGraph_Lock( + NamedGraphMap_t::iterator clearGraph_Lock( const OUString & i_rGraphName, bool i_Internal); void addStatementGraph_NoLock( @@ -1747,7 +1747,7 @@ void SAL_CALL librdf_Repository::initialize( m_pWorld.get(), m_pStorage.get()), safe_librdf_free_model); } -const NamedGraphMap_t::iterator librdf_Repository::clearGraph_NoLock( +NamedGraphMap_t::iterator librdf_Repository::clearGraph_NoLock( OUString const& i_rGraphName, bool i_Internal) // throw (uno::RuntimeException, container::NoSuchElementException, // rdf::RepositoryException) @@ -1757,7 +1757,7 @@ const NamedGraphMap_t::iterator librdf_Repository::clearGraph_NoLock( return clearGraph_Lock(i_rGraphName, i_Internal); } -const NamedGraphMap_t::iterator librdf_Repository::clearGraph_Lock( +NamedGraphMap_t::iterator librdf_Repository::clearGraph_Lock( OUString const& i_rGraphName, bool i_Internal) { // internal: must be called with mutex locked! |