[Libreoffice-commits] core.git: sw/qa

Julien Nabet serval2412 at yahoo.fr
Sun Jun 16 09:39:06 PDT 2013


 sw/qa/extras/odfexport/odfexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7c5b0cde8c2301dd23320831e4a528d9da6f6a2b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Jun 13 21:34:08 2013 +0200

    cppcheck: fix duplicateExpression
    
    (It seemed logical to me, hope I'm not wrong)
    
    Change-Id: I2c1ffbe69b90655b260a7ecb41ab089b60b27b85
    Reviewed-on: https://gerrit.libreoffice.org/4279
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx
index 09c342a..efbd931 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -141,7 +141,7 @@ void Test::testFdo60769()
         uno::Reference<beans::XPropertySet> xPropertySet(xRunEnum->nextElement(), uno::UNO_QUERY);
         OUString aType =  getProperty<OUString>(xPropertySet, "TextPortionType");
         // Second paragraph: no field start
-        CPPUNIT_ASSERT(aType == "Text" || aType == "TextFieldEnd" || aType == "TextFieldEnd");
+        CPPUNIT_ASSERT(aType == "Text" || aType == "TextFieldEnd");
     }
 }
 


More information about the Libreoffice-commits mailing list