diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-21 09:16:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-21 09:16:10 +0200 |
commit | d618441188dddc3c35aae733aa003b48389c6af7 (patch) | |
tree | 404658e080a84696adf545c68a69dae5bb0a69fb /extensions | |
parent | 3ff159d35770ac3454ee909b348cb4f4ca8b0b9b (diff) |
loplugin:sequenceloop
Change-Id: Ib785e6c581785fc4a477be38788a6544032b6ff0
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/updatehdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) |