sw/qa/extras/globalfilter/globalfilter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 64aa97e17a3500dae1e0085c5a94d1964e559321 Author: Zolnai Tamás <tamas.zol...@collabora.com> Date: Sun Dec 7 18:39:27 2014 +0100 Fix build Change-Id: Ibc6553c8f529eb7bcd3d97ebd2219c5047c5f9c0 diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx index 7478753..fbb51d7 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();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits