sc/qa/unit/subsequent_export-test.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit fd2c823fbc304a2cedf5fff9661f67b4c16c6cf7 Author: Kohei Yoshida <kohei.yosh...@gmail.com> Date: Mon Aug 26 13:40:41 2013 -0400 Fix this export test. Now this test passes. Change-Id: Ia3d11c6fb29c7938e0d8f6e25636da5d22b4a8c8 diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index 90ced45..6ec6550 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -35,6 +35,7 @@ #include "editeng/wghtitem.hxx" #include "editeng/postitem.hxx" #include "editeng/editdata.hxx" +#include "editeng/eeitem.hxx" using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -77,7 +78,7 @@ public: CPPUNIT_TEST(testColorScaleExportXLSX); CPPUNIT_TEST(testMiscRowHeightExport); CPPUNIT_TEST(testNamedRangeBugfdo62729); -// CPPUNIT_TEST(testRichTextExportODS); This currently fails. + CPPUNIT_TEST(testRichTextExportODS); CPPUNIT_TEST(testInlineArrayXLS); CPPUNIT_TEST(testEmbeddedChartXLS); CPPUNIT_TEST(testFormulaReferenceXLS); @@ -361,7 +362,7 @@ void ScExportTest::testRichTextExportODS() SfxItemSet aItemSet = rEE.GetEmptyItemSet(); aSel.nStartPos = 0; aSel.nEndPos = 4; - SvxWeightItem aWeight(WEIGHT_BOLD, ATTR_FONT_WEIGHT); + SvxWeightItem aWeight(WEIGHT_BOLD, EE_CHAR_WEIGHT); aItemSet.Put(aWeight); rEE.QuickSetAttribs(aItemSet, aSel); } @@ -369,7 +370,7 @@ void ScExportTest::testRichTextExportODS() { // Set the 'Italic' part italic. SfxItemSet aItemSet = rEE.GetEmptyItemSet(); - SvxPostureItem aItalic(ITALIC_NORMAL, ATTR_FONT_POSTURE); + SvxPostureItem aItalic(ITALIC_NORMAL, EE_CHAR_ITALIC); aItemSet.Put(aItalic); aSel.nStartPos = 9; aSel.nEndPos = 15; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits