[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sw/qa

Zolnai Tamás tamas.zolnai at collabora.com
Sun Dec 7 09:40:08 PST 2014


 sw/qa/extras/globalfilter/globalfilter.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 64aa97e17a3500dae1e0085c5a94d1964e559321
Author: Zolnai Tamás <tamas.zolnai at 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();


More information about the Libreoffice-commits mailing list