summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-04 10:20:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-07 09:42:23 +0200
commit439004122498b34433e2394d1d9c55c7d3666ab5 (patch)
treecb89fadfe33778ba5f277feb2e9f51f1876fd76d /oox
parent875793d841165aaaaefa2c34b855e8f0f8a8c214 (diff)
enable -Wrange-loop-analysis on clang
Change-Id: I2095308943c94ad16c110d5fac47715398eb5d39 Reviewed-on: https://gerrit.libreoffice.org/80187 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/presentationfragmenthandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/presentationfragmenthandler.cxx b/oox/source/ppt/presentationfragmenthandler.cxx
index 776514612b70..7f04c9b57e89 100644
--- a/oox/source/ppt/presentationfragmenthandler.cxx
+++ b/oox/source/ppt/presentationfragmenthandler.cxx
@@ -496,7 +496,7 @@ void PresentationFragmentHandler::finalizeImport()
try
{
int nPagesImported = 0;
- for (auto const& elem : aRangeEnumerator)
+ for (sal_Int32 elem : aRangeEnumerator)
{
if ( rxStatusIndicator.is() )
rxStatusIndicator->setValue((nPagesImported * 10000) / aRangeEnumerator.size());