diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-21 11:03:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-21 11:03:55 +0200 |
commit | e1af7f0c438bc242e4562aa0286c99787b5ad544 (patch) | |
tree | 29c7faa3556f33baa7eae5cd0aca3946afb8a560 /cppcanvas | |
parent | 8762aa986dbca42e61cc8fb1b2c1d2ca66bcfcbe (diff) |
clang-tidy modernize-loop-convert in c*
Change-Id: I77d2548f8be97792660761e6156cd24734a95aaf
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 8d2b32ddc0f3..3368e74c2aab 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -2998,8 +2998,8 @@ namespace cppcanvas ImplRenderer::~ImplRenderer() { // don't leak EMFPObjects - for(unsigned int i=0; i<SAL_N_ELEMENTS(aObjects); ++i) - delete aObjects[i]; + for(EMFPObject* aObject : aObjects) + delete aObject; } bool ImplRenderer::drawSubset( sal_Int32 nStartIndex, |