diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-11-07 17:01:08 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-11-07 17:01:08 +0100 |
commit | b6a41916f351fd2d6c8934a9f35ec72159ee5009 (patch) | |
tree | 60f533e78f8c11c237337a57511fea41485968da /sw/qa | |
parent | 5771bde234ec65d79501d5eab938e06dfe43e232 (diff) |
Use SAL_N_ELEMENTS
Change-Id: I3d26823a93fd0925ef5e71affd941cd51219ab9e
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/globalfilter/globalfilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx index af5b2fa437cf..9f7d603b9a48 100644 --- a/sw/qa/extras/globalfilter/globalfilter.cxx +++ b/sw/qa/extras/globalfilter/globalfilter.cxx @@ -40,7 +40,7 @@ void Test::testSwappedOutImageExport() "Office Open XML Text", }; - for( size_t nFilter = 0; nFilter < 4; ++nFilter ) + for( size_t nFilter = 0; nFilter < SAL_N_ELEMENTS(aFilterNames); ++nFilter ) { // Check whether the export code swaps in the image which was swapped out before by auto mechanism |