summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-12-07 18:39:27 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-12-07 18:39:27 +0100
commit64aa97e17a3500dae1e0085c5a94d1964e559321 (patch)
treeb79413272ae3bbb62abecbfd0c18c9b86a696784 /sw/qa
parent3b89e351c128cb3d6eea6061d1a4e4a0bffdc9da (diff)
Fix build
Change-Id: Ibc6553c8f529eb7bcd3d97ebd2219c5047c5f9c0
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/globalfilter/globalfilter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx
index 7478753f4052..fbb51d7967eb 100644
--- a/sw/qa/extras/globalfilter/globalfilter.cxx
+++ b/sw/qa/extras/globalfilter/globalfilter.cxx
@@ -118,14 +118,14 @@ void Test::testSwappedOutImageExport()
void Test::testLinkedGraphicRT()
{
- const std::vector<OUString> aFilterNames = {
+ OUString aFilterNames[] = {
"writer8",
// "Rich Text Format", Note: picture is there, but SwGrfNode is not found?
"MS Word 97",
"Office Open XML Text",
};
- for( size_t nFilter = 0; nFilter < aFilterNames.size(); ++nFilter )
+ for( size_t nFilter = 0; nFilter < SAL_N_ELEMENTS(aFilterNames); ++nFilter )
{
if (mxComponent.is())
mxComponent->dispose();