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

Tomaž Vajngerl tomaz.vajngerl at collabora.com
Wed Apr 16 01:10:48 PDT 2014


 svgio/qa/cppunit/SvgImportTest.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7789041708238cbad23cd065ff29d75b2ce15208
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.com>
Date:   Wed Apr 16 10:08:17 2014 +0200

    svgio: compilation error - ambiguous parameter int / sal_Int32
    
    Change-Id: I10b247bce555d244d21d031bdaefb0f60d9ed0ca

diff --git a/svgio/qa/cppunit/SvgImportTest.cxx b/svgio/qa/cppunit/SvgImportTest.cxx
index 4b42afd..be74939 100644
--- a/svgio/qa/cppunit/SvgImportTest.cxx
+++ b/svgio/qa/cppunit/SvgImportTest.cxx
@@ -78,13 +78,13 @@ void Test::tearDown()
 void Test::testStyles()
 {
     Primitive2DSequence maSequenceRect = parseSvg("/svgio/qa/cppunit/data/Rect.svg");
-    CPPUNIT_ASSERT_EQUAL(1, maSequenceRect.getLength());
+    CPPUNIT_ASSERT_EQUAL(1, (int) maSequenceRect.getLength());
 
     Primitive2DSequence maSequenceRectWithStyle = parseSvg("/svgio/qa/cppunit/data/RectWithStyles.svg");
-    CPPUNIT_ASSERT_EQUAL(1, maSequenceRectWithStyle.getLength());
+    CPPUNIT_ASSERT_EQUAL(1, (int) maSequenceRectWithStyle.getLength());
 
     Primitive2DSequence maSequenceRectWithParentStyle = parseSvg("/svgio/qa/cppunit/data/RectWithParentStyles.svg");
-    CPPUNIT_ASSERT_EQUAL(1, maSequenceRectWithParentStyle.getLength());
+    CPPUNIT_ASSERT_EQUAL(1, (int) maSequenceRectWithParentStyle.getLength());
 
     // TODO: Test if the 3 sequences are equal..
     //const Primitive2DReference xReference(maSequenceRect[0]);


More information about the Libreoffice-commits mailing list