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 /sc/qa/unit | |
parent | 5771bde234ec65d79501d5eab938e06dfe43e232 (diff) |
Use SAL_N_ELEMENTS
Change-Id: I3d26823a93fd0925ef5e71affd941cd51219ab9e
Diffstat (limited to 'sc/qa/unit')
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index 2d74ed565932..87a5f21388d7 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -2277,7 +2277,7 @@ void ScExportTest::testSwappedOutImageExport() officecfg::Office::Common::Cache::GraphicManager::TotalCacheSize::set(sal_Int32(1), xBatch); xBatch->commit(); - 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. ScDocShellRef xDocSh = loadDoc("document_with_two_images.", ODS); |