diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 14:39:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 20:23:38 +0200 |
commit | 3c6cb83b80b502975dce89c02401a064872b5ea3 (patch) | |
tree | 77ca629355406668a34332470c475feffe40e2ec /sw/source/uibase/app/docsh.cxx | |
parent | 7b4f643f4feb28fdc92b3da7a95d0f1c7286d01a (diff) |
loplugin:sequenceloop in sw
Change-Id: Icda7c89b396e5607ca847c0a8393cb27a2d50c6c
Reviewed-on: https://gerrit.libreoffice.org/77530
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/app/docsh.cxx')
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index 481dd8e7a2c1..de5eec3728fc 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -651,7 +651,7 @@ bool SwDocShell::ConvertTo( SfxMedium& rMedium ) { uno::Reference< XLibraryContainer > xLibCont = GetBasicContainer(); uno::Reference< XNameAccess > xLib; - Sequence<OUString> aNames = xLibCont->getElementNames(); + const Sequence<OUString> aNames = xLibCont->getElementNames(); for(const OUString& rName : aNames) { Any aLib = xLibCont->getByName(rName); |