summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2014-03-08 17:59:21 +0100
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2014-03-08 17:59:21 +0100
commit25cd2f4bb4459c4195aaaf4ae0c89a61bd47e724 (patch)
treeb69d802db594dbad527ed22f5b292fb610290a08
parentec1b9bfd9b444fcd3a3559ce1281b08afce19362 (diff)
Fix types in a test
Change-Id: I2f857f564e100cc4cf6b885c5a8f96e506b4046f
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index b870866495a3..80189af85323 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -2968,9 +2968,9 @@ DECLARE_OOXMLEXPORT_TEST(testDateControl, "date-control.docx")
// check imported control
uno::Reference<drawing::XControlShape> xControl(getShape(1), uno::UNO_QUERY);
util::Date aDate = getProperty<util::Date>(xControl->getControl(), "Date");
- CPPUNIT_ASSERT_EQUAL(5, sal_Int32(aDate.Day));
- CPPUNIT_ASSERT_EQUAL(3, sal_Int32(aDate.Month));
- CPPUNIT_ASSERT_EQUAL(2014, sal_Int32(aDate.Year));
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(5), sal_Int32(aDate.Day));
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(3), sal_Int32(aDate.Month));
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(2014), sal_Int32(aDate.Year));
}
#endif