summaryrefslogtreecommitdiff
path: root/fpicker/source/office/fpinteraction.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/fpinteraction.cxx')
-rw-r--r--fpicker/source/office/fpinteraction.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx
index eaaecaf305be..16ea3368ae08 100644
--- a/fpicker/source/office/fpinteraction.cxx
+++ b/fpicker/source/office/fpinteraction.cxx
@@ -63,17 +63,16 @@ namespace svt
Reference< XInteractionRetry > xRetry;
const Sequence< Reference< XInteractionContinuation > > lConts = _rxRequest->getContinuations();
- const Reference< XInteractionContinuation >* pConts = lConts.getConstArray();
- for (sal_Int32 i=0; i<lConts.getLength(); ++i)
+ for (const Reference< XInteractionContinuation >& rCont : lConts)
{
if (!xAbort.is())
- xAbort.set(pConts[i], UNO_QUERY);
+ xAbort.set(rCont, UNO_QUERY);
if (!xApprove.is())
- xApprove.set(pConts[i], UNO_QUERY);
+ xApprove.set(rCont, UNO_QUERY);
if (!xDisapprove.is())
- xDisapprove.set(pConts[i], UNO_QUERY);
+ xDisapprove.set(rCont, UNO_QUERY);
if (!xRetry.is())
- xRetry.set(pConts[i], UNO_QUERY);
+ xRetry.set(rCont, UNO_QUERY);
}
// safe the original request for later analyzing!