summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-04-16 10:08:17 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-04-16 10:08:17 +0200
commit7789041708238cbad23cd065ff29d75b2ce15208 (patch)
treece25aa187c23b4d33f59aeb54d90f00314bbdb21 /svgio
parent8c571e5f82a6d6e36bd47c7d2ab202f2f9b7cf86 (diff)
svgio: compilation error - ambiguous parameter int / sal_Int32
Change-Id: I10b247bce555d244d21d031bdaefb0f60d9ed0ca
Diffstat (limited to 'svgio')
-rw-r--r--svgio/qa/cppunit/SvgImportTest.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svgio/qa/cppunit/SvgImportTest.cxx b/svgio/qa/cppunit/SvgImportTest.cxx
index 4b42afd2647c..be7493919865 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]);