From e7be51491c2295e546549b750d9723753731725a Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Fri, 3 Nov 2017 17:59:31 +0100 Subject: Following 42bfbc216474b4f60d5a5e52a88d95baded5191c as suggested by Stephan in comment of https://gerrit.libreoffice.org/#/c/44233/ Change-Id: Ia0a8c36441339628fd61ba862df73db11bbed302 Reviewed-on: https://gerrit.libreoffice.org/44276 Tested-by: Jenkins Reviewed-by: Julien Nabet --- desktop/source/deployment/registry/component/dp_component.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index a41c68d1de5e..26c624e98dc0 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -991,7 +991,7 @@ void BackendImpl::removeFromUnoRc( const OUString rcterm( dp_misc::makeRcTerm(url_) ); const ::osl::MutexGuard guard( getMutex() ); unorc_verify_init( xCmdEnv ); - t_stringlist aRcItemList = getRcItemList(kind); + t_stringlist & aRcItemList = getRcItemList(kind); aRcItemList.erase(std::remove(aRcItemList.begin(), aRcItemList.end(), rcterm), aRcItemList.end()); // write immediately: m_unorc_modified = true; -- cgit