summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-21 10:11:40 +0200
committerNoel Grandin <noel@peralex.com>2016-04-21 10:12:01 +0200
commitb19ac3c4c6b4a41a1f3acac68b299fd676428a87 (patch)
tree8118fee67c28847bc69ead176621d8e8554260e2 /avmedia
parent7b65087eabf9bd233a899723f662665ee5867378 (diff)
clang-tidy modernize-loop-convert in a*
Change-Id: If8eada464c6dc7350e50fc90eb27aa47bd90e198
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/opengl/oglplayer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx
index 4aade3c89233..883d0c2cdc81 100644
--- a/avmedia/source/opengl/oglplayer.cxx
+++ b/avmedia/source/opengl/oglplayer.cxx
@@ -83,9 +83,8 @@ bool OGLPlayer::create( const OUString& rURL )
}
// Load external resources
- for( size_t i = 0; i < m_vInputFiles.size(); ++i )
+ for(glTFFile & rFile : m_vInputFiles)
{
- glTFFile& rFile = m_vInputFiles[i];
if( !rFile.filename.empty() )
{
const OUString sFilesURL =