summaryrefslogtreecommitdiff
path: root/vcl/source/window/printdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 15:55:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:23:59 +0200
commit7841194ed70385627b9f8f88315fb1d0b5b8147c (patch)
tree9649156e3d7907c112a2bbd3e776fd6f502d3831 /vcl/source/window/printdlg.cxx
parent2dfb192edfd1ab10e9d39e265e26ac6db93ac755 (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/source/window/printdlg.cxx')
-rw-r--r--vcl/source/window/printdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index df1a8c7bac8c..fda6c7bbbd2d 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1364,7 +1364,7 @@ void PrintDialog::setupOptionalUI()
sal_Int64 nMinValue = 0, nMaxValue = 0;
OUString aGroupingHint;
- for( const beans::PropertyValue& rEntry : aOptProp )
+ for( const beans::PropertyValue& rEntry : std::as_const(aOptProp) )
{
if ( rEntry.Name == "ID" )
{
@@ -1586,7 +1586,7 @@ void PrintDialog::setupOptionalUI()
continue;
// iterate options
- for( const auto& rChoice : aChoices )
+ for( const auto& rChoice : std::as_const(aChoices) )
{
pList->InsertEntry( rChoice );
}