[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sax/qa

Fridrich Strba fridrich at kemper.freedesktop.org
Fri Apr 20 13:33:12 PDT 2012


 sax/qa/cppunit/test_converter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 580a7f24c373cd8cf068fc92fdb153025e6d0a1d
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Fri Apr 20 22:30:26 2012 +0200

    Minor backporting fix
    
    Signed-off-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sax/qa/cppunit/test_converter.cxx b/sax/qa/cppunit/test_converter.cxx
index a8dad87..023177f 100644
--- a/sax/qa/cppunit/test_converter.cxx
+++ b/sax/qa/cppunit/test_converter.cxx
@@ -266,7 +266,7 @@ void doTestDouble(char const*const pis, double const rd,
     Converter::convertDouble(buf, od, true, nTargetUnit, nSourceUnit);
     OSL_TRACE("%s",
         ::rtl::OUStringToOString(buf.getStr(), RTL_TEXTENCODING_UTF8).getStr());
-    CPPUNIT_ASSERT_EQUAL(is, buf.makeStringAndClear());
+    CPPUNIT_ASSERT(buf.makeStringAndClear().equals(is));
 }
 
 void ConverterTest::testDouble()


More information about the Libreoffice-commits mailing list