[Libreoffice-commits] core.git: desktop/source

Julien Nabet serval2412 at yahoo.fr
Sat Nov 4 04:49:26 UTC 2017


 desktop/source/deployment/registry/component/dp_component.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e7be51491c2295e546549b750d9723753731725a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Nov 3 17:59:31 2017 +0100

    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 <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

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;


More information about the Libreoffice-commits mailing list