summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-11-07 17:01:08 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-11-07 17:01:08 +0100
commitb6a41916f351fd2d6c8934a9f35ec72159ee5009 (patch)
tree60f533e78f8c11c237337a57511fea41485968da /sd
parent5771bde234ec65d79501d5eab938e06dfe43e232 (diff)
Use SAL_N_ELEMENTS
Change-Id: I3d26823a93fd0925ef5e71affd941cd51219ab9e
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/export-tests.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 244c4e83d652..dfa2edc03755 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -509,7 +509,7 @@ void SdExportTest::testSwappedOutImageExport()
officecfg::Office::Common::Cache::GraphicManager::TotalCacheSize::set(sal_Int32(1), xBatch);
xBatch->commit();
- for( size_t nExportFormat = 0; nExportFormat < 3; ++nExportFormat )
+ for( size_t nExportFormat = 0; nExportFormat < SAL_N_ELEMENTS(vFormats); ++nExportFormat )
{
// Load the original file with one image
::sd::DrawDocShellRef xDocShRef = loadURL(getURLFromSrc("/sd/qa/unit/data/odp/document_with_two_images.odp"), ODP);