[Libreoffice-commits] core.git: sax/qa
Matúš Kukan
matus.kukan at gmail.com
Thu Oct 17 12:57:50 PDT 2013
sax/qa/cppunit/attributes.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit b9c9874853c3e5f6e2bd83d4b48fdd9eb8b5c561
Author: Matúš Kukan <matus.kukan at gmail.com>
Date: Thu Oct 17 21:55:49 2013 +0200
sax: fix build: needs explicit type
Change-Id: I5a5c52215b0177d663f0694515240c3f95a3ab40
diff --git a/sax/qa/cppunit/attributes.cxx b/sax/qa/cppunit/attributes.cxx
index b0f99b0..a573f9d 100644
--- a/sax/qa/cppunit/attributes.cxx
+++ b/sax/qa/cppunit/attributes.cxx
@@ -63,15 +63,15 @@ void AttributesTest::test()
aAttributeList.addUnknown("a", "a");
aAttributeList.addUnknown("b", "b", "b");
aAttributeList.addUnknown("c", "c");
- CPPUNIT_ASSERT_EQUAL( 3, aAttributeList.getUnknownAttributes().getLength() );
+ CPPUNIT_ASSERT_EQUAL( (sal_Int32) 3, aAttributeList.getUnknownAttributes().getLength() );
- CPPUNIT_ASSERT_EQUAL( 2, aAttributeList.getFastAttributes().getLength() );
+ CPPUNIT_ASSERT_EQUAL( (sal_Int32) 2, aAttributeList.getFastAttributes().getLength() );
aAttributeList.clear();
CPPUNIT_ASSERT( !aAttributeList.hasAttribute(1) );
- CPPUNIT_ASSERT_EQUAL( 0, aAttributeList.getFastAttributes().getLength() );
+ CPPUNIT_ASSERT_EQUAL( (sal_Int32) 0, aAttributeList.getFastAttributes().getLength() );
aAttributeList.addUnknown("c", "c");
- CPPUNIT_ASSERT_EQUAL( 1, aAttributeList.getUnknownAttributes().getLength() );
+ CPPUNIT_ASSERT_EQUAL( (sal_Int32) 1, aAttributeList.getUnknownAttributes().getLength() );
}
CPPUNIT_TEST_SUITE_REGISTRATION( AttributesTest );
More information about the Libreoffice-commits
mailing list