summaryrefslogtreecommitdiff
path: root/sw/qa/extras/rtfexport
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-03-31 17:01:03 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-31 17:15:23 +0200
commit84c40768f8acb0342dcfa223133497f57620fc14 (patch)
tree482287a53484a1c29b7e3295344cb35883baabcd /sw/qa/extras/rtfexport
parente764b46eea2aab37b7f62d6bf495d2b80080e3b2 (diff)
MSWordExportBase::OutputItemSet: handle fill attributes as frame ones
Fill attributes with their original WhichId are only used for frames at the moment, replacing RES_BACKGROUND. To keep export filters working, handle those fill attributes as frame ones as well. Change-Id: I1e59b483b706d9fd3f9b947e83244740e3293f9e
Diffstat (limited to 'sw/qa/extras/rtfexport')
-rw-r--r--sw/qa/extras/rtfexport/rtfexport.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx
index 4b409adc55c4..0aba10b3bf02 100644
--- a/sw/qa/extras/rtfexport/rtfexport.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport.cxx
@@ -476,8 +476,6 @@ DECLARE_RTFEXPORT_TEST(testTextFrameBorders, "textframe-borders.rtf")
CPPUNIT_ASSERT_EQUAL(sal_Int32(0x622423), aShadowFormat.Color);
}
-#if 0
-// FIXME port to FillAttributes
DECLARE_RTFEXPORT_TEST(testTextframeGradient, "textframe-gradient.rtf")
{
uno::Reference<text::XTextFramesSupplier> xTextFramesSupplier(mxComponent, uno::UNO_QUERY);
@@ -498,7 +496,6 @@ DECLARE_RTFEXPORT_TEST(testTextframeGradient, "textframe-gradient.rtf")
CPPUNIT_ASSERT_EQUAL(sal_Int32(0x666666), aGradient.EndColor);
CPPUNIT_ASSERT_EQUAL(awt::GradientStyle_AXIAL, aGradient.Style);
}
-#endif
DECLARE_RTFEXPORT_TEST(testRecordChanges, "record-changes.rtf")
{