Kaydet (Commit) 25cd2f4b authored tarafından Jacobo Aragunde Pérez's avatar Jacobo Aragunde Pérez

Fix types in a test

Change-Id: I2f857f564e100cc4cf6b885c5a8f96e506b4046f
üst ec1b9bfd
...@@ -2968,9 +2968,9 @@ DECLARE_OOXMLEXPORT_TEST(testDateControl, "date-control.docx") ...@@ -2968,9 +2968,9 @@ DECLARE_OOXMLEXPORT_TEST(testDateControl, "date-control.docx")
// check imported control // check imported control
uno::Reference<drawing::XControlShape> xControl(getShape(1), uno::UNO_QUERY); uno::Reference<drawing::XControlShape> xControl(getShape(1), uno::UNO_QUERY);
util::Date aDate = getProperty<util::Date>(xControl->getControl(), "Date"); util::Date aDate = getProperty<util::Date>(xControl->getControl(), "Date");
CPPUNIT_ASSERT_EQUAL(5, sal_Int32(aDate.Day)); CPPUNIT_ASSERT_EQUAL(sal_Int32(5), sal_Int32(aDate.Day));
CPPUNIT_ASSERT_EQUAL(3, sal_Int32(aDate.Month)); CPPUNIT_ASSERT_EQUAL(sal_Int32(3), sal_Int32(aDate.Month));
CPPUNIT_ASSERT_EQUAL(2014, sal_Int32(aDate.Year)); CPPUNIT_ASSERT_EQUAL(sal_Int32(2014), sal_Int32(aDate.Year));
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment