summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 15:55:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:23:59 +0200
commit7841194ed70385627b9f8f88315fb1d0b5b8147c (patch)
tree9649156e3d7907c112a2bbd3e776fd6f502d3831 /uui
parent2dfb192edfd1ab10e9d39e265e26ac6db93ac755 (diff)
loplugin:sequenceloop in unoxml..vcl
Change-Id: Ic3c48ec4d86252b62d3dd25bbc198f7d7fb75e90 Reviewed-on: https://gerrit.libreoffice.org/77533 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl.cxx2
-rw-r--r--uui/source/passwordcontainer.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index 4b074d151984..7f31daafd5c2 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -883,7 +883,7 @@ UUIInteractionHelper::getInteractionHandlerList(
uno::Reference< container::XNameAccess > xNameAccess(
xInterface, uno::UNO_QUERY_THROW );
- uno::Sequence< OUString > aElems = xNameAccess->getElementNames();
+ const uno::Sequence< OUString > aElems = xNameAccess->getElementNames();
if ( aElems.hasElements() )
{
diff --git a/uui/source/passwordcontainer.cxx b/uui/source/passwordcontainer.cxx
index c48f3cd2c029..a97725ef1ca3 100644
--- a/uui/source/passwordcontainer.cxx
+++ b/uui/source/passwordcontainer.cxx
@@ -360,7 +360,7 @@ PasswordContainerInteractionHandler::handleInteractionRequest(
if ( aAnyRequest >>= aURLAuthenticationRequest )
aURL = aURLAuthenticationRequest.URL;
- uno::Sequence< uno::Reference< task::XInteractionContinuation > >
+ const uno::Sequence< uno::Reference< task::XInteractionContinuation > >
rContinuations = rRequest->getContinuations();
uno::Reference< ucb::XInteractionSupplyAuthentication >