diff options
Diffstat (limited to 'embedserv/source/embed/intercept.cxx')
-rw-r--r-- | embedserv/source/embed/intercept.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/embedserv/source/embed/intercept.cxx b/embedserv/source/embed/intercept.cxx index 8e20086f6dd7..ebe94913744b 100644 --- a/embedserv/source/embed/intercept.cxx +++ b/embedserv/source/embed/intercept.cxx @@ -243,10 +243,9 @@ void Interceptor::generateFeatureStateEvent() } - for(sal_Int32 k = 0; k < aSeq.getLength(); ++k) + for(uno::Reference<uno::XInterface> const & k : std::as_const(aSeq)) { - uno::Reference<frame::XStatusListener> - Control(aSeq[k],uno::UNO_QUERY); + uno::Reference<frame::XStatusListener> Control(k,uno::UNO_QUERY); if(Control.is()) Control->statusChanged(aStateEvent); |