From 5f41f7b33e2f85be4c9d7380822916a7469cf39b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 27 Oct 2017 16:17:13 +0200 Subject: loplugin:constantparam in sw Change-Id: Ia477de0fb910f6a8fbb0a5054f4bdb43dd9ff381 Reviewed-on: https://gerrit.libreoffice.org/43951 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/qa/extras/mailmerge/mailmerge.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/qa') diff --git a/sw/qa/extras/mailmerge/mailmerge.cxx b/sw/qa/extras/mailmerge/mailmerge.cxx index 3e29b7a9b01e..0a0f40bb4cf3 100644 --- a/sw/qa/extras/mailmerge/mailmerge.cxx +++ b/sw/qa/extras/mailmerge/mailmerge.cxx @@ -104,7 +104,7 @@ public: DBuriMap::const_iterator pos = aDBuriMap.find( aURI ); if (pos == aDBuriMap.end()) { - aDBName = SwDBManager::LoadAndRegisterDataSource( aURI, nullptr, &aWorkDir ); + aDBName = SwDBManager::LoadAndRegisterDataSource( aURI, &aWorkDir ); aDBuriMap.insert( std::pair< OUString, OUString >( aURI, aDBName ) ); std::cout << "New datasource name: '" << aDBName << "'" << std::endl; } -- cgit