extensions/source/update/check/updatehdl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d618441188dddc3c35aae733aa003b48389c6af7
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu May 21 09:16:10 2020 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu May 21 09:16:10 2020 +0200

    loplugin:sequenceloop
    
    Change-Id: Ib785e6c581785fc4a477be38788a6544032b6ff0

diff --git a/extensions/source/update/check/updatehdl.cxx 
b/extensions/source/update/check/updatehdl.cxx
index 60a9b441ec91..a7a8c295beed 100644
--- a/extensions/source/update/check/updatehdl.cxx
+++ b/extensions/source/update/check/updatehdl.cxx
@@ -881,7 +881,7 @@ bool UpdateHandler::showWarning( const OUString 
&rWarningText,
         {
             uno::Sequence< uno::Reference< awt::XWindow > > xChildren = 
xMsgBoxCtrls->getWindows();
 
-            for ( uno::Reference< awt::XWindow > const & child : xChildren )
+            for ( uno::Reference< awt::XWindow > const & child : 
std::as_const(xChildren) )
             {
                 uno::Reference< awt::XVclWindowPeer > xMsgBoxCtrl( child, 
uno::UNO_QUERY );
                 if ( xMsgBoxCtrl.is() )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to