diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 15:55:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 20:23:59 +0200 |
commit | 7841194ed70385627b9f8f88315fb1d0b5b8147c (patch) | |
tree | 9649156e3d7907c112a2bbd3e776fd6f502d3831 /vcl/qt5/Qt5FilePicker.cxx | |
parent | 2dfb192edfd1ab10e9d39e265e26ac6db93ac755 (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 'vcl/qt5/Qt5FilePicker.cxx')
-rw-r--r-- | vcl/qt5/Qt5FilePicker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5FilePicker.cxx b/vcl/qt5/Qt5FilePicker.cxx index f499c2db53dd..602ee21569ee 100644 --- a/vcl/qt5/Qt5FilePicker.cxx +++ b/vcl/qt5/Qt5FilePicker.cxx @@ -415,7 +415,7 @@ void Qt5FilePicker::handleSetListValue(QComboBox* pWidget, sal_Int16 nControlAct { Sequence<OUString> aStringList; rValue >>= aStringList; - for (auto const& sItem : aStringList) + for (auto const& sItem : std::as_const(aStringList)) pWidget->addItem(toQString(sItem)); break; } |